Introduction In the previous post, we learnt to perform simple operations on vector and handle missing values. In this post, we will learn to index/subset vectors.
Index Vectors One of the most important steps in data analysis is selecting a subset of data from a bigger data set. Indexing helps in retrieving values individually or a set of values that meet a specific criteria. In this post, we look at various ways of indexing/subsetting vectors.

Introduction In the previous post, we learnt to create vectors of different data types. In this post, we will learn to
coerce different data types perform simple operations on vectors handle missing data index/subset vectors Naming Vector Elements It is possible to name the different elements of a vector. The advantage of naming vector elements is that we can later on use these names to access the elements.

Introduction In the previous post, we learnt about the basic data types in R. IN this post, we will:
understand the concept of vectors learn to create vectors of different data types Vectors Vector is the most basic data structure in R. It is a sequence of elements of the same data type. If the elements are of different data types, they will be coerced to a common type that can accommodate all the elements.