input is a single three-dimensional array (time X state/trans X sample)
output is a table suitable for ggplot (one line per state/trans per time, three columns for LCL, median, UCL)
Usage
resample.statistics(modelobj, samples, type = "trans")
Arguments
- modelobj
A pandista model object
- samples
Array of sampled values (either transition rates, or state probabilities)
- type
String; indicates type of values contained in sampled (must be one of 'state' or 'trans')
Details
type must be 'state' or 'trans'
if your samples is a list containing multiple groups, must submit one group at a time