Working with Vectors

Learn about vector of values and of ways to work with vectors.


This tutorial will teach you the basics of R. It is not necessary to have any prior programming experience.

A vector is a set of values with the same data type or what we see as a column in a data set. This basic R object can be created in R using the C function which combines the values to form a vector.

In this video, we will create a simple vector column called 'animals' and feed the C function a set of values of the same data type to form vectors.

To get started watch the video


That’s the basics of vectors in R. Also, check out our Data Science Bootcamp that can help you reinforce this skill. Let’s move on to this in the next video to understand factors.