This package implements fast versions of 'roll'-ing functions primarily for use in
seismology. It is intended for use with the IRISSeismic and IRISMustangMetrics packages
originally developed for the IRIS DMC, and now EarthScope Consortium (https://www.earthscope.org).
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.5
fixed issue with package documentation, to meet CRAN requirements
updated documentation for IRIS and UNAVCO merger to Earthscope, fixed urls
version 1.1.4
bug fix for roll_range when NA values present
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