stsplothook: Hook functions for 'stsplot_time1'

Description Usage Arguments Author(s) Examples

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

1
2
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

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

hhh4contacts documentation built on July 4, 2017, 9:44 a.m.