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