Stamp | R Documentation |
Stamp the current plot in the extreme lower right corner. A free text or expression can be defined as text to the stamp.
Stamp(txt = NULL, las = par("las"), cex = 0.6)
txt |
an optional single text string. If it is not given, the function will look for a defined option named |
las |
numeric in |
cex |
numeric character expansion factor; multiplied by |
The text can be freely defined as option. If user and date should be included by default, the following option using an expression will help:
DescToolsOptions(stamp=expression(gettextf('%s/%s', Sys.getenv('USERNAME'), Format(Today(), fmt='yyyy-mm-dd') )))
For R results may not be satisfactory if par(mfrow=)
is in effect.
Frank E Harrell Jr <f.harrell@vanderbilt.edu>
with some amendments by Andri Signorell <andri@signorell.net>
text
plot(1:20)
Stamp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.