Get index for the nearest time point to the given one. Called internally in many time-point related functions.
An object of
numeric, a time point
The function finds the time point with minimum absolute difference to the given time and returns its index.
An integer, the index of the nearest time point
Jitao David Zhang email@example.com
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.