Learn R Programming

bbl (version 1.0.0)

formula.bbl: Formula in BBL Fitting

Description

Returns the formula used in BBL fit

Usage

# S3 method for bbl
formula(x, ...)

Arguments

x

Object of class bbl

...

Other arguments

Value

Formula object

Examples

Run this code
# NOT RUN {
titanic <- as.data.frame(Titanic)
fit <- bbl(Survived ~ Class + Sex + Age, data=titanic, weights=titanic$Freq)
formula(fit)
# }

Run the code above in your browser using DataLab