Learn R Programming

boolean3 (version 3.1.6)

predict.boolean: Predicted Probabilities

Description

Calculate predicted probabilities

Usage

"predict"(object, newdata = NULL, ...)

Arguments

object
boolean object.
newdata
optionally, a data.frame containing the covariate profiles to predict. If omitted, the original data used in fitting the model will be used. Note that newdata must have the same structure as that returned by model.matrix.
...
Additional parameters to pass on.

Value

A vector of predicted probabilities for the covariate profiles specified in newdata.

Details

Calculate predicted probabilities for each observation.