Description Usage Arguments Value Author(s) See Also Examples
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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, ...)
|
mod |
An mlm object, such as computed by lm() with a multivariate response |
type |
type of test for the model |
manova |
the |
ndim |
Number of dimensions to store in the |
object, x |
A candiscList object |
term |
The name of one term to be plotted for the |
ask |
If |
graphics |
if |
... |
arguments to be passed down. |
An object of class candiscList
which is a list of candisc
objects
for the terms in the mlm.
Michael Friendly and John Fox
1 2 3 4 5 6 7 8 9 10 11 12 13 | grass.mod <- lm(cbind(N1,N9,N27,N81,N243) ~ Block + Species, data=Grass)
grass.canL <-candiscList(grass.mod)
names(grass.canL)
names(grass.canL$Species)
## Not run:
print(grass.canL)
## End(Not run)
plot(grass.canL, type="n", ask=FALSE)
heplot(grass.canL$Species, scale=6)
heplot(grass.canL$Block, scale=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.