View source: R/selection-filtering.R
df.cutoff | R Documentation |
Create a data.frame for which the values under a given threshold are set to 0
df.cutoff(DF, CUT, clean = TRUE)
DF |
numeric data.frame |
CUT |
The values have to be higher than CUT to be kept, otherwise value is set to 0 |
clean |
if TRUE, the rows where no value are above cut are filtere out |
a data.frame which can have a smaller number of rows if clean is TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.