print_prctiles: calculate percentiles for fitted parameters

View source: R/general_functions.R

print_prctilesR Documentation

calculate percentiles for fitted parameters

Description

calculate percentiles for fitted parameters

Usage

print_prctiles(chain, prctiles = c(0.025, 0.5, 0.975), par_names_plot)

Arguments

chain

the MCMC chain: a data frame with n columns, where n is the number of fitted parameters

prctiles

a numeric vector of length m containing the percentiles to be calculated (between 0 and 1)

par_names_plot

parameter names for the output data frame

Value

a data frame with n rows and m columns containing the percentiles


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.