predict.singleton: make predictions from a ``singleton'' object
Description
Returns the value stored in the singleton. Intended for internal use only.
Usage
# S3 method for singleton
predict(object, type = c('response', 'class', 'nonzero'),
...)
Value
The value of the singleton
Arguments
- object
an object of class singleton
- type
Type of prediction to be returned, "response" or "class"
- ...
ignored
Author
Scott Powers, Trevor Hastie, Robert Tibshirani