| nobs.wbm | R Documentation | 
wbm modelsThis S3 method allows you to retrieve either the number of
observations or number of entities in the data used to fit wbm objects.
## S3 method for class 'wbm'
nobs(object, entities = TRUE, ...)
| object | A fitted model object. | 
| entities | Should  | 
| ... | Further arguments to be passed to methods. | 
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
model <- wbm(lwage ~ lag(union) + wks, data = wages)
nobs(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.