Convert input to a matrix with "double" storage mode (base::storage.mode()).
Source: R/utils.R
as_double_matrix.RdConvert input to a matrix with "double" storage mode (base::storage.mode()).
Arguments
- x
data.frame()|matrix()
A numerical data frame or matrix with at least 1 row and 2 columns.
Value
x is coerced to a numerical matrix().