View source: R/cv.stepreg_240322.R
predict.cv.stepreg | R Documentation |
Give predicteds or Beta's based upon a cv.stepreg() output object. If an input data matrix is specified the X*Beta's are output. If an input data matrix is not specified then the Beta's are output. In the first column values are given based upon df as a tuning parameter and in the second column values based upon p as a tuning parameter.
## S3 method for class 'cv.stepreg'
predict(object, xs = NULL, ...)
object |
cv.stepreg() output object |
xs |
dataset for predictions. Must have the same columns as the input predictor matrix in the call to cv.stepreg(). |
... |
pass through parameters |
a matrix of beta's or predicteds
summary.cv.stepreg
, cv.stepreg
, nested.glmnetr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.