enlargeData-deprecated {surveillance} | R Documentation |
Enlargement of data which is too short for a surveillance method to evaluate.
enlargeData(disProgObj, range = 1:156, times = 1)
disProgObj |
object of class disProg (including the observed and the state chain). |
range |
range of already existing data ( |
times |
number of times to enlarge. |
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.
a disProg
(disease progress) object including a list of the observed
and the state chain (extended with cyclic data generation)
## Not run: data("k1") enlargeData(k1) # enlarge once with part 1:156 enlargeData(k1, 33:36, 10) # enlarge 10 times with part 33:36 ## End(Not run)