getQuantiles | R Documentation |
Generates a dataframe of daily EverForecast quantiles for each point/region of interest (where population is the mean water depth on a given day in n EverForecast simulations).
getQuantiles(
traceDataLong,
ROI_names = paste0(unique(traceDataLong$name), collapse = "|"),
quantiles = c(0.1, 0.25, 0.5, 0.75, 0.9)
)
traceDataLong |
Lightly processed EverForecast simulation data, found in the traceDataLong object returned by RSM::extractSimData(). RSM::extractSimData() needs to be run for this function to be used. |
ROI_names |
grep-style character vector used to select a subset of the targetLocations in the input in the traceDataLong object. |
quantiles |
percentiles to include in output. For example, 0.5 would return the 50th percentile (median value from x simulations) for each day in the EverForecast simulations and for each region of interest identified in ROI_names |
list getQuantiles
returns a long dataframe with one row per date, region of interest, and quantile
getQuantiles
## Not run:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.