plotCCA {multiUS} | R Documentation |
Plot a solution of canonical correlations
Description
It plots the canonical solution that is obtained by the function multiUS::cancorPlus
.
Usage
plotCCA(
ccRes,
xTitle = "X",
yTitle = "Y",
inColors = TRUE,
scaleLabelsFactor = 1/2,
what = "reg",
nDigits = 2,
mar = c(1, 2, 1, 1)
)
Arguments
ccRes |
The output of |
xTitle |
The title of the first set of variables. |
yTitle |
The title of the second set of variables. |
inColors |
Whether plot should be plotted in colours ( |
scaleLabelsFactor |
Parameter for setting the size of values (default is |
what |
Whether to plot regression coefficients ( |
nDigits |
Number of decimal places. |
mar |
Margins, default is |
Value
It plots the plot.
Author(s)
Marjan Cugmas
Examples
tmp<-cancorPlus(x = mtcars[, c(1,2,3)], y = mtcars[, c(4,5, 6)], useCCApackage = TRUE)
plotCCA(tmp, scaleLabelsFactor = 1/2, what = "cor")
[Package multiUS version 1.2.3 Index]