Description Usage Arguments Value See Also
Jeff Leek's leekasso for p-value-based feature selection. Performs univariate regressions of the response on each of the predictors and selects the ten predictors with the lowest p-values. Then regressses the response on these ten predictors.
1 |
x |
A predictor matrix with samples in the rows. |
y |
A response vector. |
family |
A description of the error distribution/link function for the
glm. For more info see the documentation for |
leekasso
returns an object of class "leekasso" with the
following components:
model |
a glm object fit with the best ten predictors. |
pvals |
the p-values from the univariate regressions. |
predictors |
the indexes of the best predictors. |
x |
the data frame used to fit the model. |
y |
the responses used to fit the model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.