OLS_c: Fast least squares

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Fast OLS as in fastLm but returns only the fitted coefficients.

Usage

1
OLS_c(y, X)

Arguments

y

Vector of outcomes.

X

Matrix of covariates (first column should be 1's)

Value

Vector of coefficients.


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

Related to OLS_c in RRI...