extractPost: Extract a posterior to a data frame

Description Usage Arguments Value Examples

Description

This lets you extract the contents of a posterior to a data frame. You can select parameters to keep and drop.

Usage

1
2
extractPost(fit, keeppars = NULL, droppars = c("log_lik", "ySim",
  "yTest", "deviance", "omega", "lambda"))

Arguments

fit

the model

keeppars

parameters to keep. Defaults to NULL (implying anything is kept that's not in droppars)

droppars

parameters to drop. Defaults to c("log_lik", "ySim", "yTest", "deviance", "omega", "lambda")

Value

a data frame

Examples

1
extract(out)

abnormally-distributed/Bayezilla documentation built on Oct. 31, 2019, 1:57 a.m.