update_step: Update Step Routine

Description Usage Arguments Value

View source: R/update_functions_ramses.R

Description

Excecutes one full cycle of an MCMC iteration within the RAMSES sampling structure, updating each parameter in the parm_state list with the update function found in the updates list.

Usage

1
update_step(parm_state, fixed, updates, parm_names = names(updates))

Arguments

parm_state

list that names parameters and contains current values.

fixed

list of named values that remain fixed in the model.

updates

list of update functions with names matching those in parm_state.

parm_names

vector naming the parameters as the appear in order in both updates and parm_state.

Value

A list in the form of parm_state, but with updated values. To be used within the RAMSES sampler function.


wzhorton/ramses documentation built on May 17, 2019, 1:03 p.m.