Learn R Programming

Hotelling (version 1.0-8)

print.hotelling.test: 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 hotelling.test
print(x, ...)

Arguments

x

an object of type hotelling.test

any additional arguments to be passed to the hist command

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab