predict.singleton: make predictions from a "singleton" object

Description Usage Arguments Value Author(s) See Also

View source: R/predict.singleton.R

Description

Returns the value stored in the singleton. Intended for internal use only.

Usage

1
2
3
## S3 method for class 'singleton'
predict(object, type = c('response', 'class', 'nonzero'),
  ...)

Arguments

object

an object of class singleton

type

Type of prediction to be returned, "response" or "class"

...

ignored

Value

The value of the singleton

Author(s)

Scott Powers, Trevor Hastie, Robert Tibshirani

See Also

predict


customizedTraining documentation built on May 20, 2017, 3:06 a.m.

Search within the customizedTraining package
Search all R packages, documentation and source code