Description Usage Arguments Details Value Author(s) Examples
Returns the index in 'Time' matching HHMMSS
1 | getIndex(Time, HHMMSS)
|
Time |
A POSIXct-format vector or a data.frame containing a similar variable 'Time" |
HHMMSS |
An integer representing time in HHMMSS format |
Find the index in a POSIXct time variable that corresponds to a specified time in HHMMSS format. Returns -1 if the requested time is outside the range in 'Time'
A numeric index in the Time vector corresponding to the requested time, or -1 if there is no match.
William Cooper
1 | idx <- getIndex (RAFdata, 201130)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.