[R] extracting elements from print object of Manova()

Michael Rennie mdrennie at gmail.com
Tue Jul 15 17:09:45 CEST 2008


Hi there,

Does anyone know how to extract elements from the table returned by Manova()?

Using the univariate equivalent, Anova(), it's easy:

a.an<-Anova(lm(y~x1*x2))

a.an$F

This will return a vector of the F-values in order of the terms of the model.

However, a similar application using Manova():

m.an<-Manova(lm(Y~x1~x2))

m.an$F

Returns NULL. So does any attempt at calling the headers in the MANOVA table.

Any thoughts?

Mike
-- 
--
Michael D. Rennie
Ph.D. Candidate
University of Toronto at Mississauga
3359 Missisagua Rd. N.
Mississauga, ON L5L 1C6
Ph: 905-828-5452 Fax: 905-828-3792
www.utm.utoronto.ca/~w3rennie



More information about the R-help mailing list