plt.cc: Graphical outputs for canonical correlation analysis

Description Usage Arguments Author(s) References See Also Examples

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

1
2
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

plt.indiv, plt.var

Examples

1
2
3
4
5
6
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)

Example output

Loading required package: fda
Loading required package: splines
Loading required package: Matrix

Attaching package: 'fda'

The following object is masked from 'package:graphics':

    matplot

Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

Loading required package: maps

CCA documentation built on May 2, 2019, 2:46 p.m.