Debian Codegraph @

man/tidy.TukeyHSD.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/stats-anova.R
3 \name{tidy.TukeyHSD}
4 \alias{tidy.TukeyHSD}
5 \title{Tidy a(n) TukeyHSD object}
6 \usage{
7 \method{tidy}{TukeyHSD}(x, ...)
8 }
9 \arguments{
10 \item{x}{A \code{TukeyHSD} object return from \code{\link[stats:TukeyHSD]{stats::TukeyHSD()}}.}
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 \examples{
34
35 fm1 <- aov(breaks ~ wool + tension, data = warpbreaks)
36 thsd <- TukeyHSD(fm1, "tension", ordered = TRUE)
37 tidy(thsd)
38
39 # may include comparisons on multiple terms
40 fm2 <- aov(mpg ~ as.factor(gear) * as.factor(cyl), data = mtcars)
41 tidy(TukeyHSD(fm2))
42 }
43 \seealso{
44 \code{\link[=tidy]{tidy()}}, \code{\link[stats:TukeyHSD]{stats::TukeyHSD()}}
45
46 Other anova tidiers:
47 \code{\link{glance.anova}()},
48 \code{\link{glance.aov}()},
49 \code{\link{tidy.anova}()},
50 \code{\link{tidy.aov}()},
51 \code{\link{tidy.aovlist}()},
52 \code{\link{tidy.manova}()}
53 }
54 \concept{anova tidiers}
55 \value{
56 A \code{\link[tibble:tibble]{tibble::tibble()}} with columns:
57 \item{adj.p.value}{P-value adjusted for multiple comparisons.}
58 \item{conf.high}{Upper bound on the confidence interval for the estimate.}
59 \item{conf.low}{Lower bound on the confidence interval for the estimate.}
60 \item{contrast}{Levels being compared.}
61 \item{estimate}{The estimated value of the regression term.}
62 \item{null.value}{Value to which the estimate is compared.}
63 \item{term}{The name of the regression term.}
64
65 }