simple_fit | R Documentation |
Fit a Linear Model
simple_fit(X, betas)
X |
An n \times m design matrix, optionally with an intercept column present. |
betas |
Vector of coefficients for the model. |
This function finds the least-squares estimates given a design matrix and bet coefficients.
Vector of least-squares estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.