fastLm: Fast least squares

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This functions fits the regression y ~ X using Armadillo solve function.

Usage

1
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.


RRI documentation built on Dec. 19, 2019, 9:06 a.m.

Related to fastLm in RRI...