Skip to contents

All functions

Bayesian_UPL()
Bayesian_UPL() wraps setup_likelihood(), run_likelihood(), output_likelihood(), converge_likelihood(), and fit_likelihood()
DRE_trans()
Convert from a an emission fraction into a percent destruction or removal efficiency
Lognormal_UPL()
Calculate UPL assuming lognormally distributed emissions data
MACT_EG()
Selects top sources from emissions data
MACT_NSPS()
Selects best performer from emissions data
Normal_UPL()
Calculate UPL assuming normally distributed emissions data
Skewed_UPL()
Calculate UPL assuming skew-normal distributed emissions data
converge_figs()
Converge_figs() pulls convergence figures for each parameter
converge_likelihood()
Tests for convergence in likelihood parameters
distribution_type()
Determines the type of distribution from skewness and kurtosis ratios
fit_likelihood()
fit_likelihood() calculates the error between fitted density and observed density distributions
mcmc_theme()
Custom theme for ggplot mcmc iterations
multi_source_theme()
Custom theme for ggplot multi-source density distributions
obs_density()
Calculates the density of emissions observations
output_likelihood()
Organizes mcmc output from run_likelihood()
pop_distr_theme()
Custom theme for ggplot overall density distributions
run_likelihood()
Runs JAGS model scripts for chosen likelihood
setup_likelihood()
Sets up path to JAGS script, initial values, and variable list to monitor
write_likelihood()
Writes likelihood scripts for JAGS model calls