matchtimes | R Documentation |
closest match for instance for times
matchtimes(t1, t2)
t1 |
a numeric vector to match |
t2 |
the second numeric vectgor to match |
it rounds up, who cares?
another numeric vector of length equal to t1
# consider two vectors v1 <- seq(1, 11, by = 1) v2 <- seq(1, 11, by = 4) # matchitup matchtimes(v1, v2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.