df.Strip: Filter the content of a numeric data.frame based on a...

View source: R/selection-filtering.R

df.StripR Documentation

Filter the content of a numeric data.frame based on a threshold

Description

Filter the content of a numeric data.frame based on a threshold

Usage

df.Strip(DF, val = 0, margin = 1, case = "gt")

Arguments

DF

the numeric data.frame

val

the value used as a threshold

margin

1: for rows, 2 for columns, c(1:2) apply to both column and row.

case

'gt' for strictly greater than; 'ge' for greater than or equal to; 'lt' for strictly lesser than; 'le' for lesser than or equal to; 'eq' for equal to

Value

Data.frame which exclusively contains rows that comply at least once to the given criterion


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