removeOutlierFromCalc: Removes outliers

View source: R/functions.R

removeOutlierFromCalcR Documentation

Removes outliers

Description

Take rows with a total count greater than 2000 and sets to NA

Arguments

dataframe

input dataframe

cols

which column

rows

which row

newValue

what to replace

Value

Dataframe returned

Author(s)

Michelle Webb

Examples

test <- data.frame(TOTAL=c(2000,20,20,20,20,20))
removeOutlierFromCalc(test,"TOTAL",test[test$TOTAL > 2000,],NA)

USCDTG/tLOH documentation built on Dec. 19, 2024, 10:24 p.m.