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()

Exit mobile version