predict.singleton {customizedTraining} | R Documentation |
Make predictions from a “singleton” object
Description
Returns the value stored in the singleton. Intended for internal use only.
Usage
## S3 method for class 'singleton'
predict(object, type = c("response", "class", "nonzero"), ...)
Arguments
object |
an object of class |
type |
type of prediction to be returned, "response" or "class" |
... |
ignored |
Value
The value of the singleton
[Package customizedTraining version 1.3 Index]