SubsetLM | R Documentation |
This function is for fitting a linear model of response Y on a subset of design matrix X.
SubsetLM(Y, X, ind)
Y |
Response vector. |
X |
Full design matrix. |
ind |
Set of columns of X to be used in the linear model. |
beta: a vector of estimated coefficients, with non-zero elements for variables being used and 0's for others.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.