dp.inputs.csavr.model: Get the model used to estimate incidence in CSAVR

View source: R/extract-dp.R

dp.inputs.csavr.modelR Documentation

Get the model used to estimate incidence in CSAVR

Description

Get the model used to estimate incidence in CSAVR

Usage

dp.inputs.csavr.model(dp.raw, direction = "wide")

Arguments

dp.raw

DemProj module data in raw format, as returned by read.raw.dp()

direction

Ignored; included for compatibility with similar functions.

Value

The incidence model name as a factor (see "Details" below for factor levels)

Details

CSAVR users select one of four curve types to model incidence:

  1. None - no curve selected

  2. Single logistic

  3. Double logistic

  4. Splines

  5. rLogistic

Use dp.inputs.incidence.model() to check if CSAVR was used to estimate incidence; use dp.inputs.incidence() to get the incidence estimate itself.


rlglaubius/SpectrumUtils documentation built on Jan. 30, 2025, 3:25 a.m.