formula.wbm | R Documentation |
wbm
objectsThis S3 method allows you to retrieve the formula used to
fit wbm
objects.
## S3 method for class 'wbm'
formula(x, raw = FALSE, ...)
x |
A |
raw |
Return the formula used in the call to |
... |
further arguments passed to or from other methods. |
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
model <- wbm(lwage ~ lag(union) + wks, data = wages)
# Returns the original model formula rather than the one sent to lme4
formula(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.