Skip to contents

This function takes in a fitted wastewater model and returns a long-format tibble of the parameter values for all (or a subset of) draws.

Usage

get_param_samples_long_df(mcmc_fit, draw = NULL)

Arguments

mcmc_fit

CmdStanMCMC object

draw

vector, which draws from the MCMC object do we want in the result? If NULL, returns all. This can be a very large data frame!

Value

a tibble containing the posterior distribution of each parameter and additional information, namely its name, its temporal context, and its spatial context.