Sail E0 Webinar
Question
Data frames can be converted to a matrix by calling data._______
Options:
A .  matr()
B .  mat()
C .  matrix()
D .  All of the mentioned
Answer: Option C


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers