View source: R/predict.iregnet.R
Prediction is just X'beta for non-transformed distributions, and
itrans(X'beta) for transformed distributions.
In the case of gaussian
, logistic
and
extreme_value
, types link and response both return the linear
predictors.
1 2 3 |
object |
The S3 object of type |
newx |
New input matrix of covariates with dimension n_vars same as used for fit. Sparse matrices are not supported. |
lambda |
The values of lambda at which prediction is to be obtained.
These should be a subset of the values on which the model was fit. To obtain
predictions at other lambda values, re-fit the model.
|
type |
Type of prediction required. Type |
... |
Optional arguments. Currently unused. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.