Extract inferred posterior(s) as a standard data frame

extract_posterior(abc, param = NULL, posterior = c("adj", "unadj"))

Arguments

abc

An object produced by run_abc

param

A character vector containing either parameter names to summarize, or a regex-like matches to be used for subsetting. If NULL (the default), all parameters will be extracted.

posterior

Should an "adj"-usted or "unadj"-usted posterior be extracted? (Default is "adj").

Value

A data frame in the long format with posterior values of parameters