Learn R Programming

blm (version 1.2)

predict: Get risk predictions for blm and lexpit objects.

Description

Computes vector of risk predictions for the dataset used to fit the model.

Arguments

Examples

Run this code
data(birthwt)

fit.linear <- blm(low~smoke+factor(race)+I(scale(age)),birthwt)

head(predict(fit.linear))

Run the code above in your browser using DataLab