powered by
Evaluate the smallest canonical correlation for two set of variables, each set of variables is represented by a matrix whose columns are variables.
ccorFun(hH, H)
return a scalar value, the smallest canonical correlation.
a n-by-q matrix, one set of q variables.
n
q
a n-by-q matrix, the other set of q variables.
Liu Wei
cancor.
cancor
dat <- gendata_Fac(n = 300, p = 500) res <- gsspFactorm(dat$X) ccorFun(res$hH, dat$H0)
Run the code above in your browser using DataLab