| unionPositions | R Documentation |
Makes a union of numeric or calendar positions (that is, positions of
series objects (which can be numeric), time vectors, or sequences)
objects using localzone and matchtol as in the seriesMerge and align
functions.
unionPositions(..., localzone = FALSE, matchtol = 0)
... |
the positions objects to be joined. |
localzone |
a logical value. If |
matchtol |
the tolerance for matching positions. Positions that match within |
Returns a new positions object containing all of the input positions,
with duplicates (as defined by matchtol and localzone) removed.
Returns numeric(0) if no ... arguments are given.
positions,
align,
seriesMerge.
unionPositions(1:10, 5:20)
unionPositions(1:10, 5.1:20.1, matchtol=.3)
unionPositions(timeCalendar(d=1:10), timeCalendar(d=5:20))
unionPositions(timeCalendar(d=1:10, zone="PST"),
timeCalendar(d=5:20, zone="EST"))
unionPositions(timeCalendar(d=1:10, zone="PST"),
timeCalendar(d=5:20, zone="EST"), localzone=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.