concorsreg {BMconcor} | R Documentation |
Redundancy of sets yj by one set x
Description
Regression of several subsets of variables Yj by another set X. SUCCESSIVE SOLUTIONS
Usage
concorsreg(x, px, y, py, r)
Arguments
x |
are the |
px |
The row vector which contains the numbers pi, i = 1,...,kx, of the kx subsets xi of x : |
y |
See |
py |
The partition vector of y. A row vector containing the numbers |
r |
The number of wanted successive solutions |
Value
A list
with following components:
cx |
a |
v |
is a |
varexp |
is a |
Author(s)
Lafosse, R.
Examples
x <- matrix(runif(50),10,5);y <- matrix(runif(90),10,9)
x <- scale(x);y <- scale(y)
crs <- concorsreg(x,c(2,3),y,c(3,2,4),2)
crs$varexp[1,1,]