candiscList
performs a generalized canonical discriminant analysis for
all terms in a multivariate linear model (i.e., an mlm
object),
computing canonical scores and vectors.candiscList(mod, ...)
## S3 method for class 'mlm':
candiscList(mod, type = "2", manova, ndim, ...)
## S3 method for class 'candiscList':
plot(x, term, ask = interactive(), graphics = TRUE, ...)
## S3 method for class 'candiscList':
print(x, ...)
## S3 method for class 'candiscList':
summary(object, ...)
term
, one of: "II", "III", "2", or "3"Anova.mlm
object corresponding to mod
. Normally,
this is computed internally by Anova(mod)
means
, structure
, scores
and
coeffs.*
components. The default is the rank of the H matrix for the hypothesis
term.plot
method. If not specified, one
candisc plot is produced for each term in the mlm
object.TRUE
(the default, when running interactively), a menu of terms is presented; if ask is FALSE,
canonical plots for all terms are produced.TRUE
(the default, when running interactively), then the menu of terms to plot is presented in a dialog box rather than as a text menu.candiscList
which is a list of candisc
objects
for the terms in the mlm.candisc
, heplot
, heplot3d
grass.mod <- lm(cbind(N1,N9,N27,N81,N243) ~ Block + Species, data=Grass)
grass.canL <-candiscList(grass.mod)
print(grass.canL)
plot(grass.canL, type="n", ask=FALSE)
Run the code above in your browser using DataLab