Learn R Programming

broom (version 0.3.4)

tidy.manova: tidy a MANOVA object

Description

Constructs a data frame with one row for each of the terms in the model, containing the information from summary.manova.

Usage

## S3 method for class 'manova':
tidy(x, ...)

Arguments

x
object of class "manova"
...
additional arguments passed on to summary.manova, such as test

Value

  • A data.frame with the columns
  • termTerm in design
  • statisticApproximate F statistic
  • num.dfDegrees of freedom
  • p.valueP-value

See Also

summary.manova

Examples

Run this code
npk2 <- within(npk, foo <- rnorm(24))
npk2.aov <- manova(cbind(yield, foo) ~ block + N*P*K, npk2)

Run the code above in your browser using DataLab