Skip to content

Tag Archives: R-Matrix

In this article, we will discuss how to create an anti-diagonal matrix with its working example in the R programming language. Anti-Diagonal Matrix: The anti-diagonal… Read More
In this article, we will see how to fill a matrix with a loop in R Programming Language. To create a matrix in R you… Read More
In this article, we will discuss how to create an exchange matrix in R Programming Language. The exchange matrix is a square matrix with ones… Read More
In this article, we will see how to extract diagonal elements of a matrix in R Programming Language without using diag() function. Matrix is a… Read More
In this article, we will create two matrices with 2 rows and 3 columns each, then add, subtract, multiply and divide these two matrices in… Read More
In this article, we will Transpose a Matrix without using t() function in R Programming Language. Transpose of a matrix is an operation in which… Read More
In this article, we will discuss how to set the diagonal elements of a Matrix to 1 in R Programming Language. Matrix is a rectangular… Read More
In this article, we will discuss how to create a Covariance Matrix in the R Programming Language. Covariance is the statistical measure that depicts the… Read More
In this article, we will discuss how to create an Identity Matrix in R Programming Language. Identity matrices are the matrices that contain all the… Read More
In this article, we are going to see how to evaluate subset dataframe and matrices by row name.  Method 1: Subset dataframe by row names… Read More
In this article, we will discuss how to sort a matrix according to the first column in R programming language. Matrix in use: We can… Read More
Sparse matrices are in column-oriented format and they contain mostly null values. The elements in the sparse matrix which are non-null are arranged in ascending… Read More
A correlation matrix is a tabular representation of the relation between numeric attributes of a dataframe. The values present in the table are correlation coefficients… Read More
In this article, we are going to convert the given matrix into the vector in R programming language. Conversion of the matrix to vector by… Read More
In this article, we will discuss how to extract values from the matrix by column and row names in R Programming Language. Extracting values from… Read More

Start Your Coding Journey Now!