enlargeData: Data Enlargement

Description Usage Arguments Details Value See Also Examples

Description

Enlargement of data which is too short for a surveillance method to evaluate.

Usage

1
    enlargeData(disProgObj, range = 1:156, times = 1)

Arguments

disProgObj

object of class disProg (including the observed and the state chain).

range

range of already existing data (state, observed) which should be used for enlargement.

times

number of times to enlarge.

Details

observed and state are enlarged in the way that the part range of observed and state is repeated times times in front of observed and state. Sometimes it's useful to care for the cyclic property of the timeseries, so as default we enlarge observed and state once with the first three existing years, assuming a year has 52 weeks.

Value

disProg

a object disProg (disease progress) including a list of the observed and the state chain (extended with cyclic data generation)

See Also

readData

Examples

1
2
3
4
    obj <- readData("k1")

    enlargeData(obj) # enlarge once with part 1:156
    enlargeData(obj, 33:36, 10) # enlarge 10 times with part 33:36

jimhester/surveillance documentation built on May 19, 2019, 10:33 a.m.