I am testing the Hotelling T^2 test via the manova formula in R. I am testing different same sizes and so have multiple Manova table output. Below is how I generated the manova for the entire sample
attach(iris)
library(Hotelling)
library(corpcor)
s= iris[1:100,1:5]
input= cbind(s$Sepal.Length,s$Sepal.Width, s$Petal.Length, s$Petal.Width )
m= manova(input~ Species, data = s)
summary(m, "Hotelling-Lawley")
I was wondering how I could extract the p value from each table. I tried to following but had no such luck:
res$"Pr(>F)"
res$p.value
summary(man)[8]
but each return NULL