tidy_mcmc_coll_rep_stuff function

A helper function to tidy up the output from the gsi_mcmc functions

A helper function to tidy up the output from the gsi_mcmc functions

This makes a tidy data frame of stuff, and also changes things back to factors, if the levels are provided.

tidy_mcmc_coll_rep_stuff(field, p, pname, car_tib)

Arguments

  • field: The output to tidy (i.e.. out$mean)
  • p: the name of the parameter whose values you want to extract (like "pi")
  • pname: the name that you want the parameter to be called in the output
  • car_tib: a tibble with repunit and collection in the order they appear in the output
  • Maintainer: Eric C. Anderson
  • License: CC0
  • Last published: 2024-01-24

Useful links