nobs.bbl: Number of Observations in BBL Fit

Description Usage Arguments Value Examples

Description

Returns the number of observations from a BBL fit

Usage

1
2
## S3 method for class 'bbl'
nobs(object, ...)

Arguments

object

Object of class bbl

...

Other arguments

Value

An integer of number of observations

Examples

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

bbl documentation built on Jan. 28, 2022, 1:07 a.m.