Plot.CCA {MVar} | R Documentation |
Graphs of the Canonical Correlation Analysis (CCA).
Plot.CCA(CCA, titles = NA, xlabel = NA, ylabel = NA, size = 1.1, grid = TRUE, color = TRUE, casc = TRUE)
CCA |
Data of the CCA function. |
titles |
Titles of the graphics, if not set, assumes the default text. |
xlabel |
Names the X axis, if not set, assumes the default text. |
ylabel |
Names the Y axis, if not set, assumes the default text. |
size |
Size of the points in the graphs. |
grid |
Put grid on graphs (default = TRUE). |
color |
Colored graphics (default = TRUE). |
casc |
Cascade effect in the presentation of the graphics (default = TRUE). |
Returns several graphs.
Paulo Cesar Ossani
Marcelo Angelo Cirillo
data(DataMix) # database Data <- DataMix[,2:ncol(DataMix)] rownames(Data) <- DataMix[,1] X <- as.data.frame(NormData(Data[,1:2],2)) Y <- as.data.frame(NormData(Data[,5:6],2)) Resp <- CCA(X, Y, type = 1, test = "Bartlett", sign = 0.05) # performs CCA Tit = c("Scree-plot","Correlations","Scores of the group X","Scores of the group Y") Plot.CCA(Resp, titles = Tit, xlabel = NA, ylabel = NA, color = TRUE, casc = TRUE)