# Tag Archives: R Matrix-Function

## Transform the Scaled Matrix to its Original Form in R Programming – Using Matrix Computations

In R programming, a matrix can be scaled and centred using scale() function. But, there is no in-built function to transform the scaled matrix back… Read More »

## Scale the Columns of a Matrix in R Programming – scale() Function

scale() function in R Langauge is a generic function which centers and scales the columns of a numeric matrix. The center parameter takes either numeric… Read More »

## Remove unnecessary values from an Object in R Programming – na.omit() Function

na.omit() function in R Language is used to omit all unnecessary cases from data frame, matrix or vector. Syntax: na.omit(data) Parameter: data: Set of specified… Read More »

## Check if an Object is sorted or not in R Programming – is.unsorted() Function

is.unsorted() function in R Language is used to check if an object is sorted or not. It returns False if the object is sorted otherwise… Read More »

## Check if an Object is a Table in R Programming – is.table() Function

is.table() function in R Language is used to check if an object is a table. Syntax: is.table(x) Parameters: x: Object to be checked Example 1:… Read More »

## Convert an Object to a Table in R Programming – as.table() Function

as.table() function in R Language is used to convert an object into a table. Syntax: as.table(x) Parameters: x: Object to be converted Example 1: filter_none… Read More »

## Create a Tabular representation of Data in R Programming – table() Function

table() function in R Language is used to create a categorical representation of data with variable name and the frequency in the form of a… Read More »

## Applying a Function over an Object in R Programming – sapply() Function

sapply() function in R Language takes list, vector or data frame as input and gives output in vector or matrix. It is useful for operations… Read More »

## Find Eigenvalues and Eigenvectors of a Matrix in R Programming – eigen() Function

eigen() function in R Language is used to calculate eigenvalues and eigenvectors of a matrix. Eigenvalue is the factor by which a eigenvector is scaled.… Read More »

## Finding Inverse of a Matrix in R Programming – inv() Function

inv() function in R Language is used to calculate inverse of a matrix. Note: Determinant of the matrix must not be zero Syntax: inv(x) Parameters:… Read More »

## Calculate Trace of a Matrix in R Programming – tr() Function

tr() function in R Language is used to calculate the trace of a matrix. Trace of a matrix is the sum of the values on… Read More »

## Concatenating Objects in R Programming – combine() Function

In R programming, coercion function c() and combine() function are similar to each other but are different in a way. combine() functions acts like c()… Read More »

## Reverse the values of an Object in R Programming – rev() Function

rev() function in R Language is used to return the reverse version of data objects. The data objects can be defined as Vectors, Data Frames… Read More »

## Convert an Object into a Matrix in R Programming – as.matrix() Function

as.matrix() function in R Language is used to convert an object into a Matrix. Syntax: as.matrix(x) Parameters: x: Object to be converted Example 1: filter_none… Read More »

## Check if an Object is of Complex Data Type in R Programming – is.complex() Function

is.complex() function in R Language is used to check if the object passed to it as argument is of complex data type. Syntax: is.complex(x) Parameters:… Read More »