Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lm_arma

MLR in Armadillo


Description

Perform Multiple Linear Regression using armadillo in C++

Usage

lm_arma(y, X)

Arguments

y

A vec of length N x 1 containing the responses.

X

A mat with dimensions N x p, which is the design matrix.

Value

A field<vec> with:

coef

Coefficients

resid

Residuals

sigma2

Sigma^2


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.