print.OnewayMANOVA {smsets}R Documentation

Prints a one-way MANOVA with extra information

Description

Prints the results produced by the OnewayMANOVA function

Usage

## S3 method for class 'OnewayMANOVA'
print(
  x,
  test = c("Pillai", "Wilks", "Hotelling-Lawley", "Roy"),
  long = FALSE,
  ...
)

Arguments

x

An object of class OnewayMANOVA.

test

The name of the test statistic to be used (the four tests implemented in summary.manova). Pillai's test is the default. Partial matching is used so the name can be abbreviated.

long

A logical variable indicating whether a long output is desired (TRUE) or not (FALSE, the default)

...

further arguments passed to or from other methods.

Value

Displays the results of a One-way MANOVA, i.e., the test of the difference of mean vectors among the levels of a single factor with respect to p response variables. The argument x, invisibly, as for all print methods, is a list of class "OnewayMANOVA". This print method provides two sorts of output depending on whether the long argument is TRUE or FALSE (the default). The "short" output displays:

In addition to the above information, the "long" output lists:

Examples

data(skulls)
res.MANOVA <- OnewayMANOVA(skulls, group = Period)
# Long output, Wilks' test
print(res.MANOVA, test = "Wilks", long = TRUE)


[Package smsets version 1.2.3 Index]