Learn R Programming

pspline.inference (version 1.0.4)

pspline.outbreak.thresholds: Calculate outbreak thresholds for an outbreak

Description

The result of calling this is useful as outcomes for pspline.estimate.scalars.

Usage

pspline.outbreak.thresholds(onset = NA, offset = NA)

Arguments

onset

onset threshold (as fraction of total outbreak case count)

offset

offset threshold (as fraction of total outbreak case count)

Value

function suitable as outcome estimator parameter of pspline.estimate.scalars