3 Useful Matrix Functions in R: matrix(), is.matrix() and as.matrix()

Matrix is on of the fundamental data structures in R. In this tutorial, we will see three key matrix functions in R, matrix(), is.matrix(), and as.matrix(). These three matrix functions help us create a new matrix from scratch, verify if an object is a matrix or not and convert a dataframe into a matrix. We… Continue reading 3 Useful Matrix Functions in R: matrix(), is.matrix() and as.matrix()

What is R?

R is a programming language originally developed for doing statistical computing. It is similar to the S programming language that was developed at Bell Laboratories (formerly AT&T). As the R Project site says R is ‘GNU S’, a freely available language and environment for statistical computing and graphics which provides a wide variety of statistical… Continue reading What is R?

Published
Categorized as rstats Tagged
Exit mobile version