R language Access Menu

Title Text Both  

Canonical correlation analysis

Can be used for multiple predictor and multiple outcome variables. However, all variables need to be in numeric form.

Code:

> library(CCA)
> res = cc(birthwt[-c(1,10)], birthwt[c(1,10)] )
> plt.cc(res, type='v',var.label=T )

Output graph:

                

References:
Ignacio González and Sébastien Déjean (2012). CCA: Canonical correlation analysis. R package version 1.2. http://CRAN.R-project.org/package=CCA
 


    Comments & Feedback