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 |
test |
The name of the test statistic to be used (the four tests
implemented in |
long |
A logical variable indicating whether a long output is desired
( |
... |
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:
A heading describing the function.
The data frame analyzed.
The variables involved in the calculation of distances.
The factor defining the populations or samples and their levels.
The One-way MANOVA table specifying the
test
chosen for the F-test approximation, like insummary.manova
.
In addition to the above information, the "long" output lists:
The Between-Sample Sum of Squares and Crossed Products matrix, B
The Within-Sample Total Sum of Squares and Crossed Products matrix, W.
The Total Sample Sum of Squares and Crossed Products matrix, T.
Examples
data(skulls)
res.MANOVA <- OnewayMANOVA(skulls, group = Period)
# Long output, Wilks' test
print(res.MANOVA, test = "Wilks", long = TRUE)