| autoreg | R Documentation |
S3 generic that dispatches to the appropriate model fitting function based on the class of the response variable.
autoreg(
response,
data,
x_var,
id = NULL,
strata = "",
family = NULL,
offset = NULL,
corstr = "independence"
)
response |
The response variable (used for S3 dispatch). |
data |
A data frame containing the model data. |
x_var |
Character string of the predictor variable name. |
id |
Optional subject ID for GEE models. |
strata |
Optional stratification variable. |
family |
Optional family for GLM models. |
offset |
Optional offset term. |
corstr |
Correlation structure for GEE models (default "independence"). |
A fitted model object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.