predict.flac: Predict Method for flac Fits

Description Usage Arguments Details Value

View source: R/predict.flac.R

Description

Obtains predictions from a fitted flac object.

Usage

1
2
## S3 method for class 'flac'
predict(object, newdata, type = c("link", "response"), ...)

Arguments

object

A fitted object of class flac.

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 response gives the predicted probabilities.

...

further arguments passed to or from other methods.

Details

If newdata is omitted the predictions are based on the data used for the fit.

Value

A vector or matrix of predictions.


logistf documentation built on Sept. 16, 2020, 9:07 a.m.