frlr1 {fRLR} | R Documentation |
Fit Repeated Linear Regressions with One Variable
Description
Fit a set of linear regressions which differ only in one variable.
Usage
frlr1(R_X, R_Y, R_COV, num_threads = -1L)
Arguments
R_X |
the observation matrix |
R_Y |
the response |
R_COV |
common variables |
num_threads |
number of threads for openmp. If it is -1 (default), it will use all possible threads. |
Value
the fitting results for each regression.
Examples
set.seed(123)
X = matrix(rnorm(50), 10, 5)
Y = rnorm(10)
COV = matrix(rnorm(40), 10, 4)
frlr1(X, Y, COV)
[Package fRLR version 1.3.0 Index]