powered by
This function calls either plt.var() or plt.indiv() or both functions to provide individual and/or variable representation on the canonical variates.
plt.var()
plt.indiv()
plt.cc(res, d1 = 1, d2 = 2, int = 0.5, type = "b", ind.names = NULL, var.label = FALSE, Xnames = NULL, Ynames = NULL)
Object returned by cc() or rcc()
cc()
rcc()
The dimension that will be represented on the horizontal axis
The dimension that will be represented on the vertical axis
The radius of the inner circle
Character "v" (variables), "i" (individuals) or "b" (both) to specifying the plot to be done.
vector containing the names of the individuals
logical indicating whether label should be plotted on the variables representation
vector giving the names of X variables
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
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)
Run the code above in your browser using DataLab