Add optional log-normal and midpoint-centred Weibull type 1 and type 2
thermal-survival curves to fit_tls(), simulate_tls(), prediction,
threshold extraction, plotting, and deterministic heat-injury prediction.
The log-logistic curve remains the default and the only configuration covered
by the exact bayesTLS benchmark-equivalence claim. Steepness k is
curve-specific.
Accept legacy tls(mode, p) threshold aliases, quantity vectors including
tcrit (with explicit lethal = TRUE), preserve explicit quantity selection
when lethal = TRUE, and report recognized bayesTLS tuning arguments that
freqTLS cannot honor.
Make fit_4pl() and fit_tls() reject Bayesian HMC settings such as
adapt_delta and max_treedepth, and validate the supported nlminb
optimizer-control names, value types, and ranges so misspelled or malformed
settings are not silently coerced. Both entry points also reject non-logical
trace values, accept abs.tol = 0, and pass vector scale to the
correct nlminb() argument while requiring scalar scale.init.
Support an explicit left-censored observation mechanism for the Beta family. Supply both a censor flag and an assay detection limit; zero values are not automatically censored. The pinned Snow-gum comparator remains an ordinary Beta fit and is not treated as evidence for a detection limit.
CTmax, with a
separate variance per grouping factor. The crossed plant/day implementation
is tested on synthetic data; the Snow-gum comparator remains plant-only.low and up, including the exact fixed-asymptote 2PL. The default 4PL
bounds and estimated asymptotes remain unchanged. The bayesTLS-style
lower and upper arguments map individually to the endpoints of bounds.get_tls_est() for tls() summaries and paired parametric-bootstrap
refits. Explicit bootstrap extraction returns draw-level frequentist
estimates; automatic fallback from a relative profile request returns
interval limits and status without a draw table. Empty quantity filters are
rejected.bayesTLS-style aliases to deterministic heat-injury prediction for
relative/absolute targets, T_c, trace time units, repair parameters, and
irreversible mortality. Fits use minutes; an explicit trace unit converts to
minutes, while the default expects minute-valued trace time. Bayesian repair rates convert from
doses per hour to doses per minute.plot_tdt_curve() with target labels, linear/log/both panels, and an
optional fixed colour while preserving its existing log-scale default.extract_tdt() metadata and must
number at least 20 per fitted group. Unusable target inversions remain NA.phi
Wald route is described as a heuristic based on design-specific evidence, not
as a general coverage guarantee.standardize_data() before its
boundary clamp can turn them into apparently valid exact observations. Use a
saturation-safe inverse logit and a log-prefactor continued fraction for very
small valid censoring limits, preserving finite likelihood Hessians. Evaluate
high-precision exact Beta densities with a stable deviance form that retains
accurate log_phi scores through phi = 1e17.tls() interval methods before choosing relative, absolute, or
lethal extraction paths; correct profile-fallback and 0.2.0 capability
descriptions across the help, vignettes, README, and design notes.tls() summaries,
and show how to inspect confidence status separately from the Confidence Eye
plot.extract_tdt() confidence levels and lethal damage-rate ranges
before running bootstrap refits; fixed rates remain available by supplying
equal range endpoints.check_tls() and tls().model.matrix() can drop rows, including the issue #67 failure path.duration_unit in standardize_data(). Standardized durations and reference times use minutes; fit_4pl() converts legacy standardized data with a recorded non-minute unit and informs the user.T_crit at the one-hour reference and allow an explicit target_surv in derive_tcrit(). Evaluate temperature-varying shapes row by row in lethal-time and heat-injury predictions. derive_ctmax() and extract_tdt() support bounded absolute-threshold inversion when shape formulas vary with temperature.z coefficients as natural-scale multipliers.tidy_parameters().tls() results a dedicated freq_tls_summary print method and include the effective low, up, and k formulas in fit_4pl() output.extract_tdt()'s z as the relative-midpoint thermal-sensitivity coordinate even when CTmax uses an absolute target.invalid_center profile with bootstrap limits: a non-zero deviance at the fitted estimate is a refit inconsistency that needs inspection.proportion_eps as one finite number in (0, 0.5) before clamping
continuous proportions. Convert mortality proportions by rounding survivors
directly, matching the pinned bayesTLS rule at half-integer ties; the
R-SHRIMP reconstruction retains its observed 0–11 deaths (738 total).The entries below describe documentation, teaching-data, and interface work added after the public freqTLS 0.1.0 package archive. They are not a record of the contents of the July 2026 CRAN artifact.
DESCRIPTION, the package documentation,
and inst/CITATION..onAttach startup message (R/zzz.R) that points users to the paper
and citation("freqTLS"), mirroring bayesTLS (without the Stan/brms lines).76510412e06c594c96894a1baba1f0e1a34a5aea).
Canonical cases are oxygen-gradient zebrafish, cereal aphids, Snow-gum PSII,
and the mortality and awake/coma Drosophila suzukii endpoints.nloptr Newton refinement when it improves both the
objective and maximum gradient.predict(..., type = "parameters"), including freq_tls S3 dispatch.76510412, with exact analysis hashes, sampler
diagnostics, source versions, seeds, and a public table of actual
freqTLS-minus-bayesTLS differences. The historical shrimp/life-stage cache
remains internal legacy evidence only.standardize_data() now warns with the affected count and epsilon whenever
a continuous proportion is moved off 0 or 1 for the Beta likelihood. The
Snow-gum example makes its 90 adjusted values explicit.standardize_data() now converts recognised duration inputs to minutes, and
omitted tref / t_ref therefore resolves to 60 minutes (one physical hour).
Bare formula/column data must already use minutes, so an ambiguous CTmax
reference is never silent.get_ctmax(), get_z(), and get_shape() now pass method = "wald" or
"profile" through to tidy_parameters() and retain per-coordinate interval
routing in interval_type.CTmax. Open profiles remain visibly
hollow-only. The heat-injury article now uses the licensed oxygen-gradient
zebrafish assay fit with a clearly hypothetical staged exposure scenario;
deterministic prediction remains distinct from fitted injury/repair dynamics.Corrected public unit and threshold examples; validated fit_4pl(p); improved
column-interface errors to name an unresolved data column; and added regression
coverage for the R-SHRIMP direct death reconstruction rule.
Corrected grouped contrast direction so dCTmax:A-B, dlog_z:A-B, and
dz:A-B now follow their written meaning: group A minus group B.
freqTLS is the frequentist counterpart to the Bayesian bayesTLS package: it
fits the four-parameter logistic thermal-load-sensitivity (thermal death-time)
model by maximum likelihood via TMB, parameterised directly in CTmax and thermal
sensitivity (z). Under the matched relative-threshold, constant-shape
configuration, it targets the same fitted curve as bayesTLS; uncertainty is
reported through three frequentist methods: Wald (delta), profile-likelihood,
and bootstrap, instead of a posterior. Forked from profileTLS (commit
6f963a9, v0.3.3), which it supersedes.
standardize_data(): the shared raw-data entry point for count or
continuous-proportion responses (adopted from bayesTLS).fit_4pl() + make_4pl_formula(): the direct CTmax/z formula interface
(ctmax/z/up/low/k/by, plus threshold, t_ref, bounds,
family), fitted by maximum likelihood through the TMB engine; returns a
freq_tls workflow object.tls() / tls_z() / tls_ctmax() / tls_tcrit(): z, CTmax, and T_crit with
confidence intervals at the relative midpoint, the absolute (LT50) threshold,
or any LTx.extract_tdt() with get_z_* / get_ctmax_* / get_tcrit_* accessors: the
nested z / CTmax / T_crit structure, with parametric-bootstrap replicates as
the frequentist analogue of posterior draws.predict_survival_curves(): the fitted survival surface with bootstrap bands.diagnose_tdt_fit() and tdt_parameter_table(): convergence diagnostics
(optimiser/Hessian/gradient) and the 4PL parameter table.two_stage (ts_stage1() / ts_stage2() / ts_ci() / ts_curve()): the
classical two-stage comparator, reporting both normal and small-sample t
intervals.plot_confidence_eye(), plot_survival_curves(), plot_tdt_curve(),
plot_heat_injury()) and extractors accept the freq_tls workflow object.aphid_tdt and zebrafish_o2; the active
teaching set and legacy boundary are listed above.CTmax interval covered 0.927 of 494 usable fits; the t(df =
n − p) Wald interval covered 0.964. Monte Carlo SE was 0.010. This is one
simulated design, not a general coverage guarantee. The design and results
are recorded in data-raw/calibration-study.R and
inst/extdata/calibration_results.rds.data-raw/benchmark-vs-bayes.R, not installed): freqTLS reproduces
bayesTLS's CTmax to ~0.07 °C on the brown-shrimp data, beside the classical
two-stage estimator.confint(), summary(), ranef(), and coef()/logLik()/vcov()/nobs(),
the heat-injury functions (predict_heat_injury() / plot_heat_injury() /
heat_injury_envelope()), and check_tls() all accept the freq_tls workflow
object. This listed post-fit surface works on the fit_4pl() result.fit_4pl(by = "g") now labels groups by the bare factor levels
(CTmax:young_embryos), identical to the column interface, end to end.comparing-to-bayesTLS carries the live + cached
comparison.scripts/simulations/ contains a
freqTLS (ML/TMB) analogue of the bayesTLS two-stage-bias simulation (shared
data-generating process + scoring), with a comparison to the bayesTLS results.
These maintainer scripts and their DRAC launcher are not installed with the
package.compute_4pl_bounds); up is now a direct coordinate.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.