fit_lognormal: Fit a four-parameter log-normal thermal-survival curve

View source: R/fit_curves.R

fit_lognormalR Documentation

Fit a four-parameter log-normal thermal-survival curve

Description

Fits the same response likelihoods, direct CTmax/z coordinates, and shape designs as fit_tls(), with the log-normal mean curve low + (up - low) * pnorm(-k * (log10(duration) - mid)). Here mid remains the halfway point between low and up. The interpretation of k is curve-specific; its normalized midpoint slope magnitude is k / sqrt(2 * pi).

Usage

fit_lognormal(..., curve = NULL)

Arguments

...

Arguments forwarded to fit_tls(), including either its column or formula interface. The curve is fixed to "lognormal".

curve

Do not supply. This fitter fixes the curve to "lognormal".

Value

A profile_tls maximum-likelihood fit from fit_tls().

Examples

d <- simulate_tls(family = "binomial", curve = "lognormal",
                  CTmax = 36, z = 4, seed = 1)
fit <- fit_lognormal(
  d, y = survived, n = total, time = duration, temp = temp,
  family = "binomial", tref = 1
)
fit$curve

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