removeOutlierFromCalc | R Documentation |
Take rows with a total count greater than 2000 and sets to NA
dataframe |
input dataframe |
cols |
which column |
rows |
which row |
newValue |
what to replace |
Dataframe returned
Michelle Webb
test <- data.frame(TOTAL=c(2000,20,20,20,20,20)) removeOutlierFromCalc(test,"TOTAL",test[test$TOTAL > 2000,],NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.