internal | R Documentation |
Time and number alignment functions for package developers.
.numalign(origpos, newpos, how, error.how, matchtol = 0)
.timealign(origpos, newpos, how, error.how, matchtol = 0)
origpos |
a vector of original position values. | ||||||||||||
newpos |
a vector of new positions to align or interpolate it to. | ||||||||||||
how |
specifies how to treat unmatched positions. Must be one of the following:
| ||||||||||||
error.how |
specifies available actions when an out of bounds error occurs. (Such an error can occur
when
| ||||||||||||
matchtol |
the tolerance for matching positions. |
an object like pos
.
.numalign(1:3, 2, how=NA, error=NA)
.timealign(5:7, 8, how=NA, error=NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.