rmLargeSpread {highfrequency} | R Documentation |
Delete entries for which the spread is more than maxi
times the median spread
Description
Function deletes entries for which the spread is more than "maxi"
times the median
spread on that day.
Usage
rmLargeSpread(qData, maxi = 50, tz = NULL)
Arguments
qData |
an |
maxi |
an integer. By default |
tz |
fallback time zone used in case we we are unable to identify the timezone of the data, by default: |
Value
xts
or data.table
object depending on input.
Author(s)
Jonathan Cornelissen, Kris Boudt, Onno Kleen, and Emil Sjoerup.