check_truncation_obs_opts: Check that obs_opts settings unused by estimate_truncation...

View source: R/checks.R

check_truncation_obs_optsR Documentation

Check that obs_opts settings unused by estimate_truncation are at defaults

Description

Internal check that warns when obs_opts() settings that are not consumed by the truncation model (week effect, scale, weight) have been set to non-default values. These settings are silently ignored by estimate_truncation() which only uses family, dispersion, likelihood and return_likelihood.

Usage

check_truncation_obs_opts(obs)

Arguments

obs

An ⁠<obs_opts>⁠ object.

Value

Called for its side effects.


EpiNow2 documentation built on June 17, 2026, 1:07 a.m.