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)

junwoo2/bbl documentation built on Dec. 21, 2021, 4:20 a.m.