tdt-accessors: Accessors for an extract_tdt() result

tdt-accessorsR Documentation

Accessors for an extract_tdt() result

Description

Analogues of the bayesTLS ⁠get_*_summary⁠ / ⁠get_*_draws⁠ accessors. ⁠*_summary⁠ returns the maximum-likelihood point estimate (in the compatibility-named ⁠*_median⁠ column) and its bootstrap-percentile interval. ⁠*_draws⁠ returns one derived estimate from each parametric-bootstrap refit; these are resampled frequentist estimates, not posterior draws.

Usage

get_z_summary(et)

get_z_draws(et)

get_ctmax_summary(et)

get_ctmax_draws(et)

get_tcrit_summary(et)

get_tcrit_draws(et)

Arguments

et

An extract_tdt() result.

Value

A tibble (see extract_tdt() for the column contract).

Examples


raw <- simulate_tls(family = "binomial", times = c(30, 60, 120, 240, 480),
                    CTmax = 36, z = 4, tref = 60, seed = 1)
dat <- standardize_data(
  raw, temp = "temp", duration = "duration",
  n_total = "total", n_surv = "survived", duration_unit = "minutes"
)
fit <- fit_4pl(dat, family = "binomial", t_ref = 60, quiet = TRUE)
tdt <- extract_tdt(fit, nboot = 50, seed = 1)
get_z_summary(tdt)
get_ctmax_draws(tdt)


freqTLS documentation built on Dec. 4, 2026, 5:11 p.m.