tdt_parameter_table: Posterior parameter table on the natural scale

View source: R/diagnostics.R

tdt_parameter_tableR Documentation

Posterior parameter table on the natural scale

Description

Pulls the population-level posterior of the reparameterised 4PL parameters, transformed back to the natural scale via the model's bounds, as a one-row-per-parameter tibble with median + 95% CrI.

Usage

tdt_parameter_table(workflow, by = NULL)

Arguments

workflow

A fitted bayes_tls.

by

Optional character vector of moderator columns to report per group. NULL (default) uses the fit's moderators (meta$group_vars); a single-condition fit then returns one block (no group column).

Details

For the midpoint parameterisation the rows are low, up, k, the mid intercept and temperature slope, and z = -1 / mid_temp. For the direct CTmax/z parameterisation the rows are low, up, k, CTmax (at the model's reference dose) and z. All quantities are read by evaluating brms::posterior_linpred(nlpar=) at temp_c = 0 and temp_c = 1 (so the result is parameterisation- and coding-agnostic – no coefficient-name parsing). For a fit whose CTmax/z vary by a moderator the table is returned per group, with the moderator column(s) prepended.

Value

A tibble with columns parameter, median, lower, upper (plus the moderator column(s) for a grouped fit). The fit's dose-response model is attached as attribute "model": k is the steepness on log10 time for every model, but its value is not comparable across models (see fit_lognormal(), fit_weibull()).

Examples

## Not run: 
tdt_parameter_table(wf)

## End(Not run)

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