create_initial_conditions: Create Initial Conditions Generating Function

View source: R/create.R

create_initial_conditionsR Documentation

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(stan_data)

Arguments

stan_data

A list of data as produced by create_stan_data().

Value

An initial condition generating function


epiforecasts/EpiNow2 documentation built on March 1, 2025, 1:29 a.m.