powered by
This function converts a data frame into a numeric matrix. If the data frame contains factor or character variables, they are first converted to numeric.
dftomat(X)
A numeric matrix corresponding to the input data frame.
A data frame to be converted to a numeric matrix.