powered by
Simple function to return the mean (95% CrI) for a vector
mean_CRI(y, dig = 2)
A numeric vector
The number of digits to round to
A string of mean and 95% quantile interval rounded to 'dig'
# NOT RUN { mean_CRI(rnorm(1000)) # }
Run the code above in your browser using DataLab