Vectors are one dimensional arrays that can hold numeric, character, or logical data.
Watch this video that shows how to create different types of vectors in R and how to name a vector such that vector values have identification labels.
Register for the “Learning R Programming for Data Science” course to start your real journey in Data Science.