lm_arma: MLR in Armadillo

View source: R/RcppExports.R

lm_armaR Documentation

MLR in Armadillo

Description

Perform Multiple Linear Regression using armadillo in C++

Usage

lm_arma(y, X)

Arguments

y

A vec of length N\times 1 containing the responses.

X

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

Value

A field<vec> with:

coef

Coefficients

resid

Residuals

sigma2

Sigma^2


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.