📄️ Vectors in R
Vectors are one of the fundamental data structures in R. They come in two flavors: atomic vectors and lists. Atomic vectors include logical vectors, integer vectors, double vectors, and character vectors. Lists, on the other hand, are a special type of vector that can contain elements of different types.
📄️ Matrices in R
Matrices are an important data structure in R, which is extensively used for various mathematical and statistical computations. They are two-dimensional data sets, meaning they have rows as well as columns. Each row and column can contain a number, character, or logical value.
📄️ Lists in R
R, a widely used language in data science and statistics, supports a variety of data structures such as vectors, matrices, arrays, data frames, and lists. In this tutorial, we will be focusing on one of the most flexible data structures in R - Lists.
📄️ Data frames in R
A Data Frame is one of the most important and widely used data structures in R. It is a two-dimensional tabular data structure where each column contains values of one variable and each row contains one set of values from each column. The data stored in a data frame can be numeric, factor or character type.