Obtains parameter estimates from MCMC samples
get_parameter_estimates(samps, level = 95)
samps
: A matrix of N by p samples for the p parameterslevel
: Desired confidence level - defaults to 95%.A data frame containing four columns: mean, sd, low (er limit), and up (per limit) for the p parameters.
samps <- matrix(rnorm(10000), ncol= 10 ) dim(samps) a <- get_parameter_estimates(samps) a b <- get_parameter_estimates(samps, level=98) b