
Last chance! 50% off unlimited learning
Sale ends in
Transform data from a format that is based on predictive samples to a format based on plain quantiles.
sample_to_quantile(data, quantiles = c(0.05, 0.25, 0.5, 0.75, 0.95), type = 7)
a data.frame in a long interval range format
a data.frame with samples
a numeric vector of quantiles to extract
type argument passed down to the quantile function. For more
information, see quantile()
sample_to_quantile(example_integer)
Run the code above in your browser using DataLab