generate_prior_data: Generates data for prior density plots

Description Usage Arguments Value

View source: R/plotting_functions.R

Description

Given a vector of parameter names and the parameter table as loaded by load_param_table, returns a data frame that is used to generate density plots of the prior distributions

Usage

1
generate_prior_data(names, param_table)

Arguments

names

a vector of parameter names

the

parameter table as loaded by load_param_table

Value

a data frame of combined prior densities, with column names "variable (x coord)", "value (y coord)", "param (parameter name)", "chain" (all set to 'prior')


jameshay218/mcmcJH documentation built on May 18, 2019, 11:20 a.m.