Skip to content
Snippets Groups Projects
handleAnovaError.Rd 843 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/anova.R
\name{handleAnovaError}
\alias{handleAnovaError}
\title{Handle ANOVA Errors}
\usage{
Arnaud Duvermy's avatar
Arnaud Duvermy committed
handleAnovaError(list_tmb, group, ...)
Arnaud Duvermy's avatar
Arnaud Duvermy committed
}
\arguments{
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\item{list_tmb}{A list of fitted glmmTMB models.}
Arnaud Duvermy's avatar
Arnaud Duvermy committed

\item{group}{A character string indicating the group for which ANOVA is calculated.}

\item{...}{Additional arguments to be passed to the \code{car::Anova} function.}
}
\value{
A data frame containing ANOVA results for the specified group.
}
\description{
This function handles ANOVA errors and warnings during the ANOVA calculation process.
}
\examples{
Arnaud Duvermy's avatar
Arnaud Duvermy committed
list_tmb <- fitModelParallel(Sepal.Length ~ Sepal.Width + Petal.Length,
Arnaud Duvermy's avatar
Arnaud Duvermy committed
                          data = iris, group_by = "Species", n.cores = 1)
Arnaud Duvermy's avatar
Arnaud Duvermy committed
anova_res <- handleAnovaError(list_tmb, "setosa", type = "III")
Arnaud Duvermy's avatar
Arnaud Duvermy committed

}