Skip to contents

This function handles ANOVA errors and warnings during the ANOVA calculation process.

Usage

handleAnovaError(list_tmb, group, ...)

Arguments

list_tmb

A list of fitted glmmTMB models.

group

A character string indicating the group for which ANOVA is calculated.

...

Additional arguments to be passed to the car::Anova function.

Value

A data frame containing ANOVA results for the specified group.

Examples

list_tmb <- fitModelParallel(Sepal.Length ~ Sepal.Width + Petal.Length,
                          data = iris, group_by = "Species", n.cores = 1)
#> Log file location: /tmp/RtmpS86cq0/htrfit.log
#> CPU(s) number : 1
#> Cluster type : PSOCK
anova_res <- handleAnovaError(list_tmb, "setosa", type = "III")