get_ctmax: Extract the CTmax estimate(s)

View source: R/extract.R

get_ctmaxR Documentation

Extract the CTmax estimate(s)

Description

Extract the CTmax estimate(s)

Usage

get_ctmax(
  fit,
  conf.int = TRUE,
  conf.level = 0.95,
  method = c("wald", "profile")
)

Arguments

fit

A profile_tls fit from fit_tls().

conf.int

Logical; include confidence-interval columns (default TRUE).

conf.level

Confidence level for the interval (default 0.95).

method

Either "wald" (default) or "profile".

Value

A tibble of the CTmax row(s) from tidy_parameters().

Examples

d <- simulate_tls(family = "binomial", times = c(30, 60, 120, 240, 480),
                  CTmax = 36, z = 4, tref = 60, seed = 1)
fit <- fit_tls(d, y = survived, n = total, time = duration, temp = temp,
               family = "binomial", tref = 60)
get_ctmax(fit)

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