stamp(string=date(), print=T, plot=T)
date
function:
Tue Jun 1 14:00:16 EDT 1988
.
string
be printed on the terminal?
string
be plotted in the lower right corner of the current plot?
The default is
TRUE
if a graphical device has been specified.
string
is put in the audit file, and
is plotted on the current graphical device (if
plot=TRUE
)
as well as appearing on the terminal (if
print=TRUE
).
The
stamp
function makes it easy to identify the functions used
to create a plot or display.
x <- c(1:10) y <- c(1:10) plot(x, y) stamp() # puts date and time on the plot stamp(paste("project X", date())) # puts project name, date, and time on plot