dot-extract_to_dist_spec: Extract parameters and convert to dist_spec

.extract_to_dist_specR Documentation

Extract parameters and convert to dist_spec

Description

Extract parameters and convert to dist_spec

Usage

.extract_to_dist_spec(fit, dist, max_value)

Arguments

fit

A fitted Stan model object.

dist

Character, the distribution name (one of "lognormal", "gamma", "normal", "exp", or "weibull").

max_value

Numeric, the maximum delay value to retain on the returned ⁠<dist_spec>⁠.

Value

A ⁠<dist_spec>⁠ with posterior mean/sd parameters.


EpiNow2 documentation built on June 17, 2026, 1:07 a.m.