List in R

The list in R contains several unique data types inside it. A collection of data that is ordered and editable is called a list in R. We used the list() function to create a list: Output Access List in R To access the list items, refer to its index number inside brackets. The first item has index … Read more

Time Series in R

The time series in R is a series of data points in which each data point is linked with a timestamp. The best example of time series in R is the price of a stock in the stock market at different points of time on a given day. The amount of rainfall in a region … Read more

Matrix in R

The rectangular dataset in two dimensions is called a matrix in R programming. A matrix is created with a vector input to the matrix function. Mathematical operations can be performed like add, subtract, multiply, and division on a matrix in R programming. Elements are arranged in a fixed number of rows and columns in the … Read more

Data Types in R

The variable in the R language has a data type. All data types in R programming need some memory and have some operations that can be performed over it. We have the following data types in R programming: 1. Numeric data type in R The decimal values in the R language are called numeric. It … Read more

Arrays in R

Arrays in R can have more than two dimensions as compared to the matrix. Arrays in R, are created using the array() function. The array() function takes the vector as input and used its values in dim parameters to create an array. Suppose, we create an array of (2, 3, 4) dimensions, it will create … Read more

Binary File in R

we can read and write a binary file in R. A file that contains information present only in the form of bits and bytes (0 and 1) is called a binary file. A binary file is not readable by humans. The data generated by the other programs need to be processed by R as a … Read more

R Factor

The R factor is a data structure that is used for the purpose of the field which takes only a predefined finite number of values. R factors take a limited number of different values. To store data on multiple levels and categorize the data is done by these objects. Strings and integers can be stored … Read more

R Packages

R packages are a collection of R functions, compiled code, and sample data. They have been stored in a directory known library in the R environment. R programming install packages during installation. More packages are added later till they are needed for some specific tasks. Just default packages are available by default. All the R … Read more

Boxplot in R

The boxplot in R is a very famous type of graph. Boxplot shows us how data is distributed in a dataset and divides the data into three quartiles. This graph is used to represent the first and third quartile, median, max, and min in a dataset. It also compares the distribution by making boxplots across … Read more

Statistical Analysis in R

For Statistical Analysis in R programming, several built-in functions are available like mean, mode, median. These functions are part of the R programming base package. These functions take R vectors as an input along with the arguments and give the result. Mean For Statistical Analysis in R, the mean is calculated by taking the sum … Read more