Skip to contents

Used by epinowcast() to decide whether a delay-only fit can leave the supplied expectation untouched. A minimal expectation has no growth-rate covariates or random effects (expr_fncol and expr_rncol both zero), so replacing it with enw_expectation(~1, ...) would change nothing.

Usage

.expectation_is_minimal(expectation)

Arguments

expectation

An expectation module as returned by enw_expectation().

Value

A logical scalar.