Description Usage Arguments Value
View source: R/drop-nearly-all-zero.R
Given a matrix, drops all columns which contain more than 'threshold' proportion of zeroes.
1 | drop_nearly_all_zero(mat, max_zero_proportion = 0.5)
|
mat |
matrix of data |
max_zero_proportion |
value in [0,1]. Colums with more than this proportion of zeroes are dropped |
the original matrix with nearly-zero columns dropped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.