Learn R Programming

bbl (version 1.0.0)

model.frame.bbl: Model Frame for BBL

Description

Returns the model frame used in BBL fit

Usage

# S3 method for bbl
model.frame(formula, ...)

Arguments

formula

Object of class bbl

...

Other arguments

Value

Data frame used for fitting

Examples

Run this code
# NOT RUN {
titanic <- as.data.frame(Titanic)
fit <- bbl(Survived ~ Class + Sex + Age, data=titanic[,1:4], weights=titanic$Freq)
head(model.frame(fit))
# }

Run the code above in your browser using DataLab