Description Usage Arguments Author(s) See Also Examples
View source: R/plot.interv_detect.R
Provides a plot of the test statistics of a test on an intervention in GLM-type count time series (as returned by interv_detect.tsglm
) against time.
1 2 |
x |
an object of class |
... |
additional arguments to be passed to function |
Tobias Liboschik and Philipp Probst
interv_detect
for detecting an intervention effect in GLM-type count time series and tsglm
for fitting such a model.
1 2 3 4 5 6 7 8 9 | ## Not run:
###Campylobacter infections in Canada (see help("campy"))
campyfit <- tsglm(ts=campy, model=list(past_obs=1, past_mean=c(7,13)))
campyfit_intervdetect <- interv_detect(fit=campyfit, taus=80:120,
delta=1, external=FALSE)
#This example runs about 20 minutes on a single processing unit,
#of course depending on its speed.
plot(campyfit_intervdetect)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.