Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plt.cc

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 cc() or rcc()

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)

CCA

Canonical Correlation Analysis

v1.2.1
GPL (>= 2)
Authors
Ignacio Gonz<e1>lez, S<e9>bastien D<e9>jean
Initial release
2009-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.