plot_explain_edm_movie: Create movie to explain EDM

plot_explain_edm_movieR Documentation

Create movie to explain EDM

Description

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.

Usage

plot_explain_edm_movie(obj, inc.rEDM = FALSE, ...)

Arguments

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

Value

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

Author(s)

Andrew Edwards

Examples


  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.


luke-a-rogers/pbsedm documentation built on June 3, 2024, 5:20 a.m.