nobs.bbl {bbl} | R Documentation |
Number of Observations in BBL Fit
Description
Returns the number of observations from a BBL fit
Usage
## S3 method for class 'bbl'
nobs(object, ...)
Arguments
object |
Object of class |
... |
Other arguments |
Value
An integer of number of observations
Examples
titanic <- as.data.frame(Titanic)
fit <- bbl(Survived ~ Class + Sex + Age, data=titanic[,1:4], weights=titanic$Freq)
nobs(fit)
[Package bbl version 1.0.0 Index]