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