View source: R/utils-conv-vec-to-mse-df.R
conv_vec_to_mse_df | R Documentation |
Convert a vector of aggregated values into a data.frame containing the year, run, value, and possibly country as columns
conv_vec_to_mse_df(
vec = NULL,
col = NULL,
yr_vec = NULL,
country = NULL,
probs = c(0.05, 0.25, 0.5, 0.75, 0.95),
inc_mean = TRUE
)
vec |
The aggregated vector of data. This must be the same length
as |
col |
The name of the column to create in the new data frame |
yr_vec |
The vector of years to place in the data.frame.
This must be the same length as |
country |
The name for the country. If |
probs |
A vector of quantiles to pass to |
inc_mean |
Logical. Include the mean (as column |
A data.frame containing the year, run, value, and possibly country as columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.