filterMinMax: Remove values outside of specified minimum and maximum bounds

Description Usage Arguments Examples

Description

Assigns NA to the selected subset of dates and variables

Usage

1
2
filterMinMax(rB3in, startDate, endDate, varNames, filterMin, filterMax,
  logID, Reason, showPlot, savePlot)

Arguments

rB3in

rB3 object input

startDate

start date

endDate

endDate

varNames

list of variable names or keywords

filterMin

apply min value filter, either numeric (filterMin = <value>), or from 'crtls' (filterMin = TRUE)

filterMax

apply max value filter, either numeric (filterMax = <value>), or from 'crtls' (filterMax = TRUE)

logID

write an operation identifier to the log frames, default = NA

Reason

reason for the logged changes (character)

showPlot

display figure in plots window (TRUE/FALSE)

savePlot

save figure to a path (TRUE/FALSE)

Examples

1
new <- filterReps(old, varNames = 'TmpWtr', filterMin = 9, filterMax = 25,logID = 10, showPlot = TRUE)

kohjim/rB3 documentation built on May 10, 2019, 9:51 a.m.