powered by
Computes canonical correlations for two sets of multivariate data x and y.
x
y
ccor(x, y)
a list of the following components:
a vector of canonical correlations.
a matrix, each column of which is the vector of coefficients of x to produce the corresponding canonical covariate.
a matrix, each column of which is the vector of coefficients of y to produce the corresponding canonical covariate.
the first multivariate dataset.
the second multivariate dataset.
Anh Tuan Bui
ccor(iris[,1:2], iris[,3:4])
Run the code above in your browser using DataLab