predict.logistf | R Documentation |
Obtains predictions from a fitted logistf
object.
## S3 method for class 'logistf'
predict(
object,
newdata,
type = c("link", "response", "terms"),
flic = FALSE,
se.fit = FALSE,
reference,
na.action = na.pass,
...
)
object |
A fitted object of class |
newdata |
Optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted linear predictors are used. |
type |
The type of prediction required. The default is on the scale of the linear predictors.
The alternative |
flic |
If |
se.fit |
If |
reference |
A named vector of reference values for each variable for |
na.action |
Function determining what should be done with missing values in newdata. The default is to predict NA. |
... |
further arguments passed to or from other methods. |
If newdata
is omitted the predictions are based on the data used for the fit.
A vector or matrix of predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.