Numeric: Numeric

Description Usage Arguments Value Examples

View source: R/Numeric.R

Description

An internal function that converts an R vector of numerics or integers into an R list containing java.lang.Double objects. This method does not need to be used directly by the user, as train will automatically handle numeric responses if you're working in the regression settings.

Usage

1

Arguments

y

The R vector of numbers

Value

An R list containing rJava Doubles.

Examples

1
2
x <- Numeric(1:5)
class(x[[1]])

jatherrien/largeRCRF documentation built on Nov. 15, 2019, 7:16 a.m.