Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
R Language
3.0K+ articles
R Vector-Function
88+ articles
R Math-Function
79+ articles
R Object-Function
54+ articles
R DataFrame-Function
54+ articles
R String-Functions
39+ articles
R List-Function
22+ articles
R Array-Functions
10+ articles
R Matrix-Function
65 posts
Recent Articles
Popular Articles
Matrix exponentiation in R
Last Updated: 06 May 2024
Matrix exponentiation is raising a square matrix to a given exponent. Suppose there is a matrix A raised to the power k and the value of A raised to the power of k is calc...
read more
Picked
R Language
R Matrix-Function
Scaling a numeric matrix in R with values
Last Updated: 18 April 2024
Scaling a numeric matrix in R Programming Language is a common preprocessing step in data analysis and machine learning. It involves transforming the data so that each col...
read more
Picked
R Language
R Matrix-Function
How to Create Tables in R?
Last Updated: 27 December 2021
In this article, we will discuss how to create tables in R Programming Language.Method 1: Create a table from scratchWe can create a table by using as.table() function, fi...
read more
Picked
R Language
R DataFrame-Function
R Matrix-Function
Transform the Scaled Matrix to its Original Form in R Programming - Using Matrix Computations
Last Updated: 18 January 2022
In R programming, a matrix can be scaled and centered using scale() function. But, there is no in-built function to transform the scaled matrix back to the original matrix...
read more
R Language
R Matrix-Function
Scale the Columns of a Matrix in R Programming - scale() Function
Last Updated: 17 April 2025
The scale() function in R is used to center and/or scale the columns of a numeric matrix. It helps standardize data by transforming it to have a mean of 0 and standard dev...
read more
R Language
R Matrix-Function
How to Use na.omit in R?
Last Updated: 28 November 2023
What are missing values?In data analysis, missing values refer to the absence of data for a particular variable or observation. These missing values are typically represen...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Check if an Object is sorted or not in R Programming - is.unsorted() Function
Last Updated: 24 June 2020
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 True.Syntax: is.unsorted(x)Paramete...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
Check if an Object is a Table in R Programming - is.table() Function
Last Updated: 19 June 2020
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 checkedExample 1:[sourcecode language="Python3" 1=...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Convert an Object to a Table in R Programming - as.table() Function
Last Updated: 19 June 2020
as.table() function in R Language is used to convert an object into a table.Syntax: as.table(x)Parameters:x: Object to be convertedExample 1:[sourcecode language="Python3"...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Create a Tabular representation of Data in R Programming - table() Function
Last Updated: 19 June 2020
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 table.Syntax: table(x)Parameter...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Applying a Function over an Object in R Programming - sapply() Function
Last Updated: 19 June 2020
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 on list objects and returns a l...
read more
R Language
R DataFrame-Function
R Vector-Function
R Object-Function
R Matrix-Function
R List-Function
Find Eigenvalues and Eigenvectors of a Matrix in R Programming - eigen() Function
Last Updated: 19 June 2020
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.Syntax: eigen(x)Par...
read more
R Language
R Matrix-Function
Finding Inverse of a Matrix in R Programming - inv() Function
Last Updated: 19 June 2020
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:x: MatrixExample 1:[sourcec...
read more
R Language
R Matrix-Function
Calculate Trace of a Matrix in R Programming - tr() Function
Last Updated: 19 June 2020
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 the main diagonal(upper left to lower right) of the m...
read more
R Language
R Matrix-Function
Convert an Object into a Matrix in R Programming - as.matrix() Function
Last Updated: 30 April 2025
The as.matrix() functionwithinRconvertsobjectsofvariousclassesinto a matrix. Thiscanbehelpfultoworkwithstructures ofvariousdatathat can be converted intothematrixstructure...
read more
R Language
R Object-Function
R Matrix-Function
1
2
3
4
5
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !