BfSStamp | R Documentation |
Stamp the current plot in the lower right corner with the copyright of the BfS-maps:
"Kartengrundlage: (c) BFS, ThemaKart, 20xx"
This copyright is mandatory for all maps in public publications. The default coodinates are chosen by default in the bottomright corner of a Swiss map, but can be redefined by user.
BfSStamp(xy = NULL,
year_n = getOption("bfsMaps.year", Year(Today())),
txt = NULL, cex = 0.6, adj = c(1,0), ...)
xy |
the coordinates for the text to be placed. |
year_n |
the year for the compulsory BfS copyright message. |
txt |
the text to be used. |
cex |
the character extension for the text (default is 0.6) |
adj |
one or two values in [0, 1] which specify the x (and optionally y) adjustment ('justification') of the labels, with 0 for left/bottom, 1 for right/top, and 0.5 for centered. On most devices values outside [0, 1] will also work. See below. |
... |
the dots are passed to the function |
The default value for the year can be entered as option in the .Rprofile file. bfsMaps.year=2022 would set the default to 2022.
None
Andri Signorell <andri@signorell.net>
Stamp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.