Vectors in R

Learn the details of the vector data type in the R language.

Vector objects

Vectors act as containers of data elements, forming one-dimensional basic data structures that transform values into a single data type. Vectors can be sorted, filtered, and modified. We can generate vectors using the c() command.

Get hands-on with 1400+ tech skills courses.