Learn R Programming

EpiNow2 (version 1.8.0)

reconstruct_parametric: Reconstruct a parametric delay distribution

Description

Helper function to reconstruct a single parametric delay component from Stan data and posterior samples.

Usage

reconstruct_parametric(stan_data, param_id, posterior)

Value

A dist_spec object representing the delay distribution

Arguments

stan_data

List of Stan data containing delay specification

param_id

Integer index into the parametric delay arrays

posterior

Data frame with posterior mean and sd for delay_params, or NULL if not estimated