Make predictions from a fitted "abess
" object.
An "abess
" project.
New data used for prediction. If omitted, the fitted linear predictors are used.
type = "link"
gives the linear predictors for "binomial"
,
"poisson"
or "cox"
models; for "gaussian"
models it gives the
fitted values. type = "response"
gives the fitted probabilities for
"binomial"
and "ordinal"
, fitted mean for "poisson"
and the fitted relative-risk for
"cox"
; for "gaussian"
, type = "response"
is equivalent to type = "link"
.
An integer value specifies
the model size fitted at given support.size
.
If support.size = NULL
, then the model with
the best tuning value would be returned.
Default: support.size = NULL
.
Additional arguments affecting the predictions produced.
The object returned depends on the types of family.
print.abess
,
predict.abess
,
coef.abess
,
extract.abess
,
plot.abess
,
deviance.abess
.