Description Usage Arguments Value Examples
For matrix x of at least ten columns, and vector y of outcomes, builds a linear prediction model using the top ten predictive features in x chosen by p value.
1 | topten(x,y)
|
x |
a matrix of at least ten columns of data |
y |
a vector of same length as x containing the outcomes for the data in x |
a numeric vector of coefficients generated by the linear model fit to x.
1 | coeffs <- topten(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.