Description Usage Arguments Value Examples
Optimization weights which maximize the correlation between two matrix
1 | weopt(x = x, y = y)
|
x |
Vector of factors |
y |
Vector of local factors |
weights which maximize the correlation between two matrix
1 2 3 4 5 6 7 8 9 10 11 | library(ECTools)
X = data.frame(
x1 = rnorm(100),
x2 = rnorm(100),
x3 = rnorm(100)
)
Y = data.frame(
y1 = rnorm(100),
y2 = rnorm(100)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.