print.hotelling.test {Hotelling}R Documentation

Prints the results from a Hotelling's T-squared test for the difference in two multivariate sample means

Description

Prints the test stastic, degrees of freedom and P-value from Hotelling's T-squared test for the difference in two multivariate sample means

Usage

## S3 method for class 'hotelling.test'
print(x, ...)

Arguments

x

an object of type hotelling.test

...

any additional arguments to be passed to the hist command

Author(s)

James M. Curran

Examples


data(bottle.df)
bottle.df = subset(bottle.df, Number == 1)
bottle.df$Number = rep(1:2,c(10,10))
fit = hotelling.test(.~Number, bottle.df, perm = TRUE)
fit
fit = hotelling.test(.~Number, bottle.df)
fit

## an explict call
print(fit)


[Package Hotelling version 1.0-8 Index]