create_initial_conditions {EpiNow2}R 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(data)

Arguments

data

A list of data as produced by create_stan_data.

Value

An initial condition generating function


[Package EpiNow2 version 1.4.0 Index]