as_double_matrix {moocore}R Documentation

Convert input to a matrix with "double" storage mode (base::storage.mode()).

Description

Convert input to a matrix with "double" storage mode (base::storage.mode()).

Usage

as_double_matrix(x)

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().


[Package moocore version 0.1.0 Index]