applymem: Get epidemic thresholds for a list of cities

Description Usage Arguments Details Value Author(s)

View source: R/dengue-mem.R

Description

Function to apply epimem algorithm on df.data and generate full reports as well as a data frame with summary of relevant thresholds (pre, pos, mid, high, veryhigh)

Usage

1
applymem(df.data, l.seasons, ...)

Arguments

df.data

data frame with municipio_geocodigo in a column named municipio_geocodigo, and incidence seasons in each column each row gives the incidence in each season, for each municipio_geocodigo, for each week.

l.seasons

vector with incidence columns to be used. Additional arguments accepted by memmodel function

i.n.max

Number of pre-epidemic values used to calculate the threshold.

i.type.curve

Type of confidence interval to calculate the modelled curve.

i.level.threshold

Level of confidence interval to calculate the threshold.

i.level.curve

Level of confidence interval to calculate the modelled curve.

i.data

Data frame of input data.

i.seasons

Maximum number of seasons to use.

i.type.threshold

Type of confidence interval to calculate the threshold.

i.tails.threshold

Tails for the confidence interval to calculate the threshold.

i.type.intensity

Type of confidence interval to calculate the intensity thresholds.

i.level.intensity

Levels of confidence interval to calculate the intensity thresholds.

i.tails.intensity

Tails for the confidence interval to calculate the threshold.

i.type.other

Type of confidence interval to calculate length, start and percentages.

i.level.other

Level of confidence interval to calculate length, start and percentages.

i.method

Method to calculate the optimal timing of the epidemic.

i.param

Parameter to calculate the optimal timing of the epidemic.

i.type.boot

Type of bootstrap technique.

i.iter.boot

Number of bootstrap iterations.

Details

internal function, used by info.dengue.apply.mem. Defatul arguments passed to memmodel function:

Value

epithresholds: list with full epimem report for each municipio_geocodigo, keyed by AP's name. dfthresholds: data frame with thresholds for each AP.

Author(s)

Marcelo F Gomes


claudia-codeco/AlertTools documentation built on Aug. 12, 2021, 9:58 a.m.