Description Usage Arguments Details Value See Also
This is a slim wrapper around various regression modelling functions that simplifies the process of estimating regression equations with various robust variance-covariance estimation procedures. This negates the need for the two-step exercise of summary(lm(...))
to view results. It also supports survey design objects through the same interface. Reversing the typical formula-data argument order to data-argument order makes the function easily usable within a data analysis “pipeline”.
1 2 3 |
data |
A data frame, or “survey design” object from the survey package. |
formula |
A model formula. |
... |
Additional arguments passed to |
vcov_type |
A character string specifying a variance-covariance estimation procedure. See |
vcov_cluster |
If non- |
boot_iterations |
If |
digits |
An integer specifying the preferred number of digits to use when printing the output (passed to |
signif.stars |
A logical specifying whether to print significance stars. Passed to |
Estimation is provided by glm
and svyglm
, respectively.
A “reg” object, which contains a traditional R modelling object in element “model”.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.