plt.cc | R Documentation |
This function calls either plt.var()
or plt.indiv()
or both functions
to provide individual and/or variable representation on the canonical variates.
plt.cc(res, d1 = 1, d2 = 2, int = 0.5, type = "b", ind.names = NULL,
var.label = FALSE, Xnames = NULL, Ynames = NULL)
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 |
Sébastien Déjean, Ignacio González
www.lsp.ups-tlse.fr/Biopuces/CCA
plt.indiv
, plt.var
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.