df.cutoff: Create a data.frame for which the values under a given...

View source: R/selection-filtering.R

df.cutoffR Documentation

Create a data.frame for which the values under a given threshold are set to 0

Description

Create a data.frame for which the values under a given threshold are set to 0

Usage

df.cutoff(DF, CUT, clean = TRUE)

Arguments

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

Value

a data.frame which can have a smaller number of rows if clean is TRUE


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.