synthdata: synthdata

Description Usage Arguments Value References See Also Examples

Description

Generates synthetic biennial epidemic data.

Usage

1
synthdata(t, p, a = 0, b = 0)

Arguments

t

Number of time points for which to generate data

p

Period of the dominant annual cycle

a

Degree of alterating peak sizes, in the range [0,1]

b

Degree of delay in alternating peaks, in the range [0,1]

Value

The output will be a synthetic timeseries of length t.

References

Hogan, A.B., Glass, K. and Anderssen, R.S. (2017) Complex demodulatuion: a novel #' time series method for analysing infectious diseases. The ANZIAM Journal 59(1) 51-60.

See Also

demodulate

Examples

1
synthdata(seq(1,120), 12, 0.3, 0.2)

abhogan/complexdemod documentation built on May 18, 2019, 12:24 a.m.