postcastALERT: A component of applyALERT

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ALERT.R

Description

The postcastALERT function is meant to be called from within the applyALERT function and is used to find the optimal window of time that contains a given percentage of cases.

Usage

1
postcastALERT(data, target.pct, caseColumn = "Cases")

Arguments

data

a single season of surveillance data

target.pct

specifies the percentage of cases the user is targeting during the ALERT period

caseColumn

the name of the column with the case counts in it. Defaults to 'Cases'

Value

A vector with two elements, the pct.captured and duration of the interval

Author(s)

Nicholas G Reich and Stephen A Lauer

See Also

applyALERT, createALERT

Examples

1
2
data(fluData)
postcastALERT(fluData, target.pct=.85)

nickreich/ALERT documentation built on May 23, 2017, 2:46 p.m.