| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/stats-anova.R |
| 3 |
\name{tidy.aovlist} |
| 4 |
\alias{tidy.aovlist} |
| 5 |
\title{Tidy a(n) aovlist object} |
| 6 |
\usage{ |
| 7 |
\method{tidy}{aovlist}(x, ...) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{An \code{aovlist} objects, such as those created by \code{\link[stats:aov]{stats::aov()}}.} |
| 11 |
|
| 12 |
\item{...}{Additional arguments. Not used. Needed to match generic |
| 13 |
signature only. \strong{Cautionary note:} Misspelled arguments will be |
| 14 |
absorbed in \code{...}, where they will be ignored. If the misspelled |
| 15 |
argument has a default value, the default value will be used. |
| 16 |
For example, if you pass \code{conf.lvel = 0.9}, all computation will |
| 17 |
proceed using \code{conf.level = 0.95}. Two exceptions here are: |
| 18 |
\itemize{ |
| 19 |
\item \code{tidy()} methods will warn when supplied an \code{exponentiate} argument if |
| 20 |
it will be ignored. |
| 21 |
\item \code{augment()} methods will warn when supplied a \code{newdata} argument if it |
| 22 |
will be ignored. |
| 23 |
}} |
| 24 |
} |
| 25 |
\description{ |
| 26 |
Tidy summarizes information about the components of a model. |
| 27 |
A model component might be a single term in a regression, a single |
| 28 |
hypothesis, a cluster, or a class. Exactly what tidy considers to be a |
| 29 |
model component varies across models but is usually self-evident. |
| 30 |
If a model has several distinct types of components, you will need to |
| 31 |
specify which components to return. |
| 32 |
} |
| 33 |
\details{ |
| 34 |
The \code{term} column of an ANOVA table can come with leading or |
| 35 |
trailing whitespace, which this tidying method trims. |
| 36 |
|
| 37 |
For documentation on the tidier for \code{\link[car:leveneTest]{car::leveneTest()}} output, see |
| 38 |
\code{\link[=tidy.leveneTest]{tidy.leveneTest()}} |
| 39 |
} |
| 40 |
\examples{ |
| 41 |
|
| 42 |
a <- aov(mpg ~ wt + qsec + Error(disp / am), mtcars) |
| 43 |
tidy(a) |
| 44 |
} |
| 45 |
\seealso{ |
| 46 |
\code{\link[=tidy]{tidy()}}, \code{\link[stats:aov]{stats::aov()}} |
| 47 |
|
| 48 |
Other anova tidiers: |
| 49 |
\code{\link{glance.anova}()}, |
| 50 |
\code{\link{glance.aov}()}, |
| 51 |
\code{\link{tidy.TukeyHSD}()}, |
| 52 |
\code{\link{tidy.anova}()}, |
| 53 |
\code{\link{tidy.aov}()}, |
| 54 |
\code{\link{tidy.manova}()} |
| 55 |
} |
| 56 |
\concept{anova tidiers} |
| 57 |
\value{ |
| 58 |
A \code{\link[tibble:tibble]{tibble::tibble()}} with columns: |
| 59 |
\item{df}{Degrees of freedom used by this term in the model.} |
| 60 |
\item{meansq}{Mean sum of squares. Equal to total sum of squares divided by degrees of freedom.} |
| 61 |
\item{p.value}{The two-sided p-value associated with the observed statistic.} |
| 62 |
\item{statistic}{The value of a T-statistic to use in a hypothesis that the regression term is non-zero.} |
| 63 |
\item{stratum}{The error stratum.} |
| 64 |
\item{sumsq}{Sum of squares explained by this term.} |
| 65 |
\item{term}{The name of the regression term.} |
| 66 |
|
| 67 |
} |