print.BoxM.F {smsets}R Documentation

Prints Box'M test based on an F-statistic

Description

Prints the results produced by BoxM.F function, with the option to display the matrices involved in the calculations

Usage

## S3 method for class 'BoxM.F'
print(x, long = FALSE, ...)

Arguments

x

an object of class BoxM.F

long

a logical variable indicating whether a long output is desired (TRUE) or not (FALSE, the default). The long output shows the covariance matrix for each group and the pooled covariance matrix.

...

further arguments passed to or from other methods.

Value

Displays the results of Box's M test for homogeneity of covariance matrices, based on the F-approximation computed by the BoxM.F function. The argument x, invisibly, as for all print methods, is a list of class "BoxM.F". 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)
resBoxM.F <- BoxM.F(skulls, Period)
# Long output
print(resBoxM.F, long = TRUE)


[Package smsets version 1.2.3 Index]