Learn R Programming

blm (version 2011.2.0)

resid: Get residuals for blm and lexpit objects.

Description

Computes vector of residuals: the observed event outcome minus the predicted probability.

Arguments

Examples

Run this code
data(birthwt)

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

head(resid(fit.linear))

Run the code above in your browser using DataLab