model.frame.bbl {bbl}R Documentation

Model Frame for BBL

Description

Returns the model frame used in BBL fit

Usage

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

Arguments

formula

Object of class bbl

...

Other arguments

Value

Data frame used for fitting

Examples

titanic <- as.data.frame(Titanic)
fit <- bbl(Survived ~ Class + Sex + Age, data=titanic[,1:4], weights=titanic$Freq)
head(model.frame(fit))

[Package bbl version 1.0.0 Index]