stsplothook: Hook functions for 'stsplot_time1'

stsplothookR Documentation

Hook functions for stsplot_time1

Description

Hook functions can be passed to stsplot_time1, which are evaluated after all the plotting has been done, and with the hook function environment set to the evaluation environment of stsplot_time1 such that local variables can be accessed. They are not intended to be called directly.

Usage

stsplothook_highlight(christmas = FALSE, epochInYear = NULL, col = 2, lwd = 2)

Arguments

christmas

logical indicating if Christmas should be highlighted.

epochInYear

integer vector of epochs to highlight.

col, lwd

graphical parameters for the highlighting lines.

Author(s)

Sebastian Meyer

Examples

plot(noroBE("agegroups"), hookFunc = stsplothook_highlight(epochInYear=51))

hhh4contacts documentation built on Nov. 6, 2023, 5:09 p.m.