Custom fitting function to add GEE model with cluster variable to parsnip GEE function call.
Arguments
- formula
- Normal formula but uses the - gee_formula()internal function for the- id_var()specification for clustering.
- data
- Modeling data 
- family
- a family object: a list of functions and expressions for defining link and variance functions. Families supported in gee are - gaussian,- binomial,- poisson,- Gamma, and- quasi; see the- glmand- familydocumentation. Some links are not currently available:- 1/mu^2and- sqrthave not been hard-coded in the- cgeeengine at present. The inverse gaussian variance function is not available. All combinations of remaining functions can be obtained either by family selection or by the use of- quasi.
- ...
- For additional parameters 
Details
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.