hhh4contacts (version 0.13.1)

stsplothook: 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

Sebastian Meyer

Examples

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

Run the code above in your browser using DataLab