plot_explain_edm_movie | R Documentation |
Use with gifski in .Rmd - see 'analyse_simple_time_series' vignette. Also called from 'plot_explain_edm_movie_save' to save a pdf that can be incremented through in the Appendix.
plot_explain_edm_movie(obj, inc.rEDM = FALSE, ...)
obj |
list object of class 'pbsEDM', an output from 'pbsEDM()' |
inc.rEDM |
logical whether to include rEDM calculation figure and in legend. |
... |
extra values to use in calls to 'plot_explain_edm()'; needs to include tstar |
movie (if used with gifski) to explain EDM; if combined with 'par(mfrow=c(4,2))' (and not gifski) then will give multiple panels, but borders etc have not been set up properly for this and will need adjusting
Andrew Edwards
aa <- pbsEDM(NY_lags_example,
lags = list(N_t = 0:1),
first_difference = TRUE)
plot_explain_edm_movie(aa, tstar = 15) # will only show last panel; see
# `analyse_simple_time_series`
# vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.