# simulate a time series with sinusoidal bites
# where the peaks are located in the centers of the bites.
simulate_bites(no.of.bites = 5,
length.of.bite = 1000,
length.of.series = 10000,
max.y = 5,
max.y.jit = 15,
jit = 0.5,
peak.pos = 0.5,
bite.type = "sin",
plot = TRUE)
# simulate a time series with sinusoidal bites
# where the peaks are located towards the ends of the bites.
simulate_bites(no.of.bites = 5,
length.of.bite = 1000,
length.of.series = 10000,
max.y = 5,
max.y.jit = 15,
jit = 0.5,
peak.pos = 0.8,
bite.type = "sin",
plot = TRUE)
# simulate a time series with plateau-like bites
simulate_bites(no.of.bites = 5,
length.of.bite = 1000,
length.of.series = 10000,
max.y = 5,
max.y.jit = 15,
jit = 1,
bite.type = "plat",
plot = TRUE)
# simulate a time series with plateau-like bites
# with slowly ascending bite start and abprupt bite end.
simulate_bites(no.of.bites = 5,
length.of.bite = 1000,
length.of.series = 10000,
max.y = 5,
max.y.jit = 15,
slope.perc.start = 60,
slope.perc.end = 10,
jit = 1,
bite.type = "plat",
plot = TRUE)
Run the code above in your browser using DataLab