gee_fit | R Documentation |
Custom fitting function to add GEE model with cluster variable to parsnip GEE function call.
gee_fit(formula, data, family = gaussian, ...)
formula |
Normal formula but uses the |
data |
Modeling data |
family |
a family object: a list of functions and expressions for
defining link and variance functions. Families supported in gee are
|
... |
For additional parameters |
gee()
always prints out warnings and output even when
silent = TRUE
. gee_fit()
will never produce output, even if
silent = FALSE
.
Also, because of issues with the gee()
function, a supplementary call to
glm()
is needed to get the rank and QR decomposition objects so that
predict()
can be used.
A gee object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.