get_hi_draws: Posterior draws of heat-injury trajectory

View source: R/accessors.R

get_hi_drawsR Documentation

Posterior draws of heat-injury trajectory

Description

Long-format tibble of per-draw HI, dose, survival and mortality at every time step of the supplied temperature trace. Requires that predict_heat_injury() was called with save_draws = TRUE.

Usage

get_hi_draws(hi)

Arguments

hi

The list returned by predict_heat_injury(..., save_draws = TRUE).

Value

A tibble with columns .draw, time, temp, dose, hi, survival, mortality.

Examples

## Not run: 
hi <- predict_heat_injury(trace, wf, save_draws = TRUE)
get_hi_draws(hi)

## End(Not run)

bayesTLS documentation built on Nov. 29, 2026, 1:06 a.m.