generate_quantiles | R Documentation |
Given a vector of MCMC samples, generates and formats the desired quantile estimates
generate_quantiles(x, sig_f = 3, qs = c(0.025, 0.5, 0.975), as_text = TRUE)
x |
the vector to summarise |
sig_f |
how many significant figures to print |
qs |
the vector of quantiles |
as_text |
if TRUE, formats nicely as text rather than a vector of numbers |
the formatted quantiles
data(example_theta_chain)
x <- example_theta_chain$boost_long
generate_quantiles(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.