Learn R Programming

TOSI (version 0.3.0)

ccorFun: Evaluate the smallest canonical correlation for two set of variables

Description

Evaluate the smallest canonical correlation for two set of variables, each set of variables is represented by a matrix whose columns are variables.

Usage

ccorFun(hH, H)

Value

return a scalar value, the smallest canonical correlation.

Arguments

hH

a n-by-q matrix, one set of q variables.

H

a n-by-q matrix, the other set of q variables.

Author

Liu Wei

See Also

Examples

Run this code
  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