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

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/hello.R

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

1
  ccorFun(hH, H)

Arguments

hH

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

H

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

Value

return a scalar value, the smallest canonical correlation.

Note

nothing

Author(s)

Liu Wei

See Also

cancor.

Examples

1
2
3
  dat <- gendata(n = 300, p = 500)
  res <- gsspFactorm(dat$X)
  ccorFun(res$hH, dat$H0)

feiyoung/SpagFainfer documentation built on April 4, 2020, 5:20 p.m.