makeNumeric function

Convert a data frame into a numeric matrix.

Convert a data frame into a numeric matrix.

Utility function for converting a data frame with factors (numeric and character levels), ordered factors, and numerical variables into a numeric matrix.

makeNumeric(x)

Arguments

  • x: Data frame

Returns

A numeric matrix.

Examples

makeNumeric(ABC[,6:11])