| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/stats-anova.R |
| 3 |
\name{tidy.manova} |
| 4 |
\alias{tidy.manova} |
| 5 |
\title{Tidy a(n) manova object} |
| 6 |
\usage{ |
| 7 |
\method{tidy}{manova}(x, test = "Pillai", ...) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{A \code{manova} object return from \code{\link[stats:manova]{stats::manova()}}.} |
| 11 |
|
| 12 |
\item{test}{One of "Pillai" (Pillai's trace), "Wilks" (Wilk's lambda), |
| 13 |
"Hotelling-Lawley" (Hotelling-Lawley trace) or "Roy" (Roy's greatest root) |
| 14 |
indicating which test statistic should be used. Defaults to "Pillai".} |
| 15 |
|
| 16 |
\item{...}{ |
| 17 |
Arguments passed on to \code{\link[stats:summary.manova]{stats::summary.manova}} |
| 18 |
\describe{ |
| 19 |
\item{\code{object}}{An object of class \code{"manova"} or an \code{aov} |
| 20 |
object with multiple responses.} |
| 21 |
\item{\code{intercept}}{logical. If \code{TRUE}, the intercept term is |
| 22 |
included in the table.} |
| 23 |
\item{\code{tol}}{tolerance to be used in deciding if the residuals are |
| 24 |
rank-deficient: see \code{\link{qr}}.} |
| 25 |
}} |
| 26 |
} |
| 27 |
\description{ |
| 28 |
Tidy summarizes information about the components of a model. |
| 29 |
A model component might be a single term in a regression, a single |
| 30 |
hypothesis, a cluster, or a class. Exactly what tidy considers to be a |
| 31 |
model component varies across models but is usually self-evident. |
| 32 |
If a model has several distinct types of components, you will need to |
| 33 |
specify which components to return. |
| 34 |
} |
| 35 |
\details{ |
| 36 |
Depending on which test statistic is specified only one of \code{pillai}, |
| 37 |
\code{wilks}, \code{hl} or \code{roy} is included. |
| 38 |
} |
| 39 |
\examples{ |
| 40 |
|
| 41 |
npk2 <- within(npk, foo <- rnorm(24)) |
| 42 |
m <- manova(cbind(yield, foo) ~ block + N * P * K, npk2) |
| 43 |
tidy(m) |
| 44 |
} |
| 45 |
\seealso{ |
| 46 |
\code{\link[=tidy]{tidy()}}, \code{\link[stats:summary.manova]{stats::summary.manova()}} |
| 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.aovlist}()} |
| 55 |
} |
| 56 |
\concept{anova tidiers} |
| 57 |
\value{ |
| 58 |
A \code{\link[tibble:tibble]{tibble::tibble()}} with columns: |
| 59 |
\item{den.df}{Degrees of freedom of the denominator.} |
| 60 |
\item{num.df}{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{term}{The name of the regression term.} |
| 64 |
\item{pillai}{Pillai's trace.} |
| 65 |
\item{wilks}{Wilk's lambda.} |
| 66 |
\item{hl}{Hotelling-Lawley trace.} |
| 67 |
\item{roy}{Roy's greatest root.} |
| 68 |
|
| 69 |
} |