removeOutlierFromCalc {tLOH} | R 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)

[Package tLOH version 1.0.0 Index]