Learn R Programming

EpiNow2 (version 1.6.1)

create_initial_conditions: Create Initial Conditions Generating Function

Description

[Stable] Uses the output of create_stan_data() to create a function which can be used to sample from the prior distributions (or as close as possible) for parameters. Used in order to initialise each stan chain within a range of plausible values.

Usage

create_initial_conditions(data)

Value

An initial condition generating function

Arguments

data

A list of data as produced by create_stan_data().