print.hotelling.test: Prints the results from a Hotelling's T-squared test for the...

Description Usage Arguments Author(s) Examples

View source: R/hotelling.test.r

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

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

jmcurran/Hotelling documentation built on Sept. 12, 2021, 6:12 p.m.