prior: Calculates and sums priors for posterior

Description Usage Arguments Value See Also

View source: R/priors.R

Description

Uses the prior function pointers provided by the parameter table to calculate prior values for the current parameters

Usage

1
prior(params, param_table)

Arguments

params

a vector of current parameter values

param_table

parameter table as loaded by load_param_table. The idea is to provide prior function pointers and arguments for these, and pass them to a prior wrapper function

Value

a single, sum of prior values

See Also

prior_wrapper


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