matchtimes: closest match for instance for times

View source: R/matchtimes.R

matchtimesR Documentation

closest match for instance for times

Description

closest match for instance for times

Usage

matchtimes(t1, t2)

Arguments

t1

a numeric vector to match

t2

the second numeric vectgor to match

Details

it rounds up, who cares?

Value

another numeric vector of length equal to t1

Examples

# consider two vectors
v1 <- seq(1, 11, by = 1)
v2 <- seq(1, 11, by = 4)

# matchitup
matchtimes(v1, v2)

williamcioffi/chf documentation built on June 9, 2022, 5:38 p.m.