Description Usage Arguments Value Author(s)
General purpose regression engine for the methods bayesglm, glm and glmnet
1 2 3 4 5 6 7 |
XYdata |
matrix with X and Y columns. First column is named as y, other columns are X. |
method |
string among ("glm", "glmnet", "bayesglm"). |
regIntercept |
Logical. Should intercept be included in the model? |
lambda |
for method "glmnet". |
alpha |
for "glmnet" |
list with elements: coef, se, lambda, fit (Coefficients, SE, lambda, if used, fit object.)
Abhirup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.