ValueOf | R Documentation |
Returns value of a variable at a specified time
ValueOf(DataFrame, Variable, HHMMSS)
DataFrame |
A dataframe containing 'Variable' and also 'Time', a POSIX-format time variable used for searching for the desired time. |
Variable |
A variable in DataFrame. The variable can be in the form DataFrame$TASX or TASX, or "TASX". |
HHMMSS |
A time in hour-minute-second format (e.g., 134513) |
In a dataframe, finds the index corresponding to the specified time and returns the value of the specified variable at that index.
A numeric containing the value of 'Variable' at the specified time.
William Cooper
ValueOf (RAFdata, ATX, 201100) ValueOf (RAFdata, "ATX", 201100) ValueOf (RAFdata, RAFdata$ATX, 201100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.