prediction_eqn {stacks} | R Documentation |
Convert one or more linear predictor to a format used for prediction
Description
Convert one or more linear predictor to a format used for prediction
Usage
prediction_eqn(x, ...)
## S3 method for class ''_lognet''
prediction_eqn(x, type = "class", ...)
## S3 method for class ''_elnet''
prediction_eqn(x, type = "numeric", ...)
## S3 method for class ''_multnet''
prediction_eqn(x, type = "class", ...)
Arguments
x |
An object that uses a |
... |
Not currently used. |
type |
The prediction type. |
Value
The return type varies, based on the model and prediction type.
[Package stacks version 1.1.1 Index]