Description Usage Arguments Value
tspreg
This function calculates a top-scoring pairs regression model which can be used for prediction in high-dimensional problems.
1 | tspreg(dat, outcome, npair = 10, nvars = 10000)
|
dat |
An input data set |
outcome |
The outcome that you are trying to predict (may be factor or survival) |
npair |
The desired number of top scoring pairs to calculate |
nvars |
The algorithm first screens for marginal association between outcome and dat and selects the top nvars to use to create candidate pairs |
An index vector for the top-scoring pairs
The test statistics for the association between each pair and the outcome
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.