Answers for "create matrix from vectors in r"

R
0

convert a matrix to a vector in r

as.vector(my_mat)                    # Applying as.vector function
Posted by: Guest on August-23-2021

Browse Popular Code Answers by Language