| gee_di | R Documentation |
Fits generalized estimating equation (GEE) models to angular-transformed disease intensity. Compares a model without treatment-by-time interactions against a model including these interactions. Supports single-factor and factorial experimental designs.
gee_di(
data_longo,
corstr = c("ar1", "exchangeable", "independence", "unstructured"),
do_anova = TRUE,
factors = "trat"
)
data_longo |
Long-format data frame with |
corstr |
Working correlation structure: |
do_anova |
If |
factors |
Character vector naming treatment-factor columns.
The default |
The experimental unit is identified by unit; if absent, it is derived
from block and the combination of factors specified in factors.
Invisibly returns a list containing gee0 (model without
treatment-by-time interactions), gee1 (model with interactions),
comp (comparison result when do_anova = TRUE, otherwise NULL),
and predictions (prediction grid). When Wald inference is numerically
unreliable, such as under near-zero dispersion, its statistic and
p-value may be returned as NA rather than a spurious inference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.