Google News
logo
R - Quiz(MCQ)
Data frames can be converted to a matrix by calling data _______
A)
as.matrix()
B)
as.matr()
C)
as.mat()
D)
as.max()

Correct Answer :   as.matrix()


Explanation : as.matrix() function should be used to coerce a data frame to a matrix.

Advertisement