lm_arma | R Documentation |
Perform Multiple Linear Regression using armadillo in C++
lm_arma(y, X)
y |
A |
X |
A |
A field<vec>
with:
Coefficients
Residuals
Sigma^2
x = cbind(1,1:10) y = cumsum(rep(.45,10)) lm_arma(y, x)[[1]] coef(lm(y~x-1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.