fastLm {RRI} | R Documentation |
Fast least squares
Description
This functions fits the regression y ~ X using Armadillo solve
function.
Usage
fastLm(y, X)
Arguments
y |
Vector of outcomes. |
X |
Matrix of covariates (first column should be 1's) |
Value
List
of regression output with elements coef
, stderr
.
[Package RRI version 1.1 Index]