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