This package implements fast versions of 'roll'-ing functions primarily for use in
seismology. It is intended for use with the seismic and seismicMetrics packages
being developed for the IRIS Data Management Center (DMC) (http://www.iris.edu/dms/nodes/dmc/).
One advantage of the seismicRoll package is that all returned values are of
the same dimension as the incoming data with NA
s where the rolling function
could not be calculated.
Currently exported functions include:
findOutliers
-- outlier detection wrapper
roll_hampel
-- outlier detection
roll_mean
-- rolling mean
roll_median
-- rolling median (for outlier replacement)
roll_sd
-- rolling standard deviation
roll_stalta
-- first break picker
roll_range
-- rolling difference of max/min values
History
version 1.1.3
minor changes to how the code compiles
add roll_range function
version 1.1.2 -- bug fix
findOutliers()
exits if the roll_hampel()
return vector consists entirely of NA
values.
version 1.1.0 -- findOutliers update and bug fix
findOutliers()
function default argument values changed. Now thresholdMin=10
,
selectivity=NA
, and fixedThreshold=TRUE
.
Bug fix in roll_hampel()
handling NA
values.
version 1.0.3 -- findOutliers update
Added fixedThreshold
argument to findOutliers()
function.
version 1.0.0 -- initial release