Description Usage Arguments Value Author(s) References Examples
This function keeps only the K largest values of the vector sorted_vect
and sets the others to zero.
1 | top(x, thresh, sorted_vect)
|
x |
vector to threshold |
thresh |
threshold |
sorted_vect |
vector x sorted in descending order |
This function returns the thresholded vector.
Wencan Zhu [aut, cre], Celine Levy-Leduc [ctb], Nils Ternes [ctb]
W. Zhu, C. Levy-Leduc, N. Ternes. "A variable selection approach for highly correlated predictors in high-dimensional genomic data". arXiv:2007.10768.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.