Rdocumentation
powered by
Learn R Programming
rrepast (version 0.4.0)
DFToMatrix: DFToMatrix
Description
This function converts data frames to matrix data type.
Usage
DFToMatrix(d, n = c())
Arguments
d
-- The data frame
n
-- The column names to be converted. Null for all data frame columns
Value
The data frame converted to a matrix