My Blog

My WordPress Blog

My Blog

My WordPress Blog

R Programming IQ

How to remove columns from a data frame in R?

1. By using the select() function of the dplyr package of the tidyverse collection. The name of each column to delete is passed in with a minus sign before it: If, instead, we have too many columns to delete, it makes more sense to keep the rest of the columns rather than delete the columns in interest. In this […]

What is a package in R, and how do you install and load packages?

An R package is a collection of functions, code, data, and documentation, representing an extension of the R programming language and designed for solving specific kinds of tasks. R comes with a bunch of preinstalled packages, and other packages can be installed by users from repositories. The most popular centralized repository storing thousands of various […]

Scroll to top