plotCCA | R Documentation |
It plots the canonical solution that is obtained by the function multiUS::cancorPlus
.
plotCCA(
ccRes,
xTitle = "X",
yTitle = "Y",
inColors = TRUE,
scaleLabelsFactor = 1/2,
what = "reg",
nDigits = 2,
mar = c(1, 2, 1, 1)
)
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 |
It plots the plot.
Marjan Cugmas
tmp<-cancorPlus(x = mtcars[, c(1,2,3)], y = mtcars[, c(4,5, 6)], useCCApackage = TRUE)
plotCCA(tmp, scaleLabelsFactor = 1/2, what = "cor")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.