fast.approx(
time,
new.time,
equal = FALSE,
type = c("nearest", "right", "left"),
sorted = FALSE,
...
)
Arguments
time
Original ordered time points
new.time
New time points
equal
If TRUE a list is returned with additional element
type
Type of matching, nearest index, nearest greater than
or equal (right), number of elements smaller than y otherwise
the closest value above new.time is returned.