filterReps: Remove consecutive repeated values

Description Usage Arguments Examples

Description

Specify maximum number of allowable consecutive identical values, or read from the 'ctrls' (which have been read from source dataset headers)

Usage

1
2
filterReps(rB3in, startDate, endDate, varNames, maxReps, logID, Reason,
  showPlot, savePlot)

Arguments

rB3in

rB3 object input

startDate

start date

endDate

endDate

varNames

list of variable names or keywords

maxReps

apply maximum allowed consecutive identical values filter, numerical or TRUE for from 'ctrls'

logID

write an operation identifier to the log frames

Reason

reason for hte 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', maxReps = 20, showPlot = TRUE)

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