plt.cc {CCA} | R Documentation |
Graphical outputs for canonical correlation analysis
Description
This function calls either plt.var()
or plt.indiv()
or both functions
to provide individual and/or variable representation on the canonical variates.
Usage
plt.cc(res, d1 = 1, d2 = 2, int = 0.5, type = "b", ind.names = NULL,
var.label = FALSE, Xnames = NULL, Ynames = NULL)
Arguments
res |
Object returned by |
d1 |
The dimension that will be represented on the horizontal axis |
d2 |
The dimension that will be represented on the vertical axis |
int |
The radius of the inner circle |
type |
Character "v" (variables), "i" (individuals) or "b" (both) to specifying the plot to be done. |
ind.names |
vector containing the names of the individuals |
var.label |
logical indicating whether label should be plotted on the variables representation |
Xnames |
vector giving the names of X variables |
Ynames |
vector giving the names of Y variables |
Author(s)
Sébastien Déjean, Ignacio González
References
www.lsp.ups-tlse.fr/Biopuces/CCA
See Also
Examples
data(nutrimouse)
X=as.matrix(nutrimouse$gene[,1:10])
Y=as.matrix(nutrimouse$lipid)
res.cc=cc(X,Y)
plt.cc(res.cc)
plt.cc(res.cc,d1=1,d2=3,type="v",var.label=TRUE)
[Package CCA version 1.2.2 Index]