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