Lists in R

Lists in R

In this tutorial, you will learn about what is lists in R?, how to create list in R?, and how to access variable(s) and/or observation(s ) from a list? What is list in R? Lists are the more general class of data storage. Lists are generic vectors where each element can be any type of …

Read more

Factors in R

Factors in R

In this tutorial you will learn about the how to create factor variables, ordered factor variables, factor variable from numerical data and generale factor levels in R. Factors in R In R factors are used for handling categorical variables (Nominal or Ordinal). Factors are the variables which take on finite number of different values. The …

Read more

Data frames in R

Dataframes in R

In this tutorial, you will learn about what is data frame in R?, how to create data frame in R?, and how to access variable(s) and/or observation(s ) from a data frame? What is a Data Frame in R? In R language, a data frame is a primary data structure for handling tabular data sets …

Read more

Arrays in R

arrays in R

In this tutorial, you will learn about what is arrays in R and how to define arrays in R. Arrays in R Arrays in R is an atomic (homogeneous) data structure. Matrix is two dimensional object. When there are more than two dimensions, we use array to store such a data. Thus arrays are similar …

Read more

Matrix in R

Matrix in R

In this tutorial, you will learn about matrix data type in R. We will discuss about how to create a matrix in R, how to access subset of a matrix and how to perform various operations like addition, multiplication, transpose, inverse, determinant and eigen values on matrix. Matrix in R A matrix is a two-dimensional …

Read more

Vectors in R

Vectors in R

In this tutorial you will learn about vectors, type of vectors, vector operations, accessing elements of vectors and coercion of vectors in R. Vectors in R A basic data structure in R is vector. It is a atomic (homogeneous) data structure, where all the stored objects are of same type. Vector can be defined as …

Read more

Variables and Constants in R

Variables and constants in R

In this tutorial, you will learn about constants and variables in R. You will get idea about various types of constants, special constants and built-in constants in R. Variables and Constants in R In almost every programming language, variable is a name given to store the data whose value can be changed according to the …

Read more

Data Structures in R

Data Structures in R

In this tutorial, you will learn about what are different data structures in R? To understand the R language, you will need to understand the basic data types and data structures and how to use them. Data Structures in R A data structure is a way of organizing the data in such a way that …

Read more

Data Types in R

Data Types in R

In this tutorial, we will discuss about various data types in R, some functions related to data types and functions to check whether object belongs to some specific data type. Data Types in R Data types are the objects using which we can create vectors in R. All the objects stored in R have a …

Read more