View source: R/utils_data_handling.R
sample_to_interval_long | R Documentation |
Transform data from a format that is based on predictive samples to a format based on interval ranges.
sample_to_interval_long(
data,
interval_range = c(0, 50, 90),
type = 7,
keep_quantile_col = TRUE
)
data |
A data.frame (or similar) with predicted and observed values.
See the details section of |
type |
Type argument passed down to the quantile function. For more
information, see |
keep_quantile_col |
keep quantile_level column, default is TRUE |
A data.table in a long interval interval range format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.