Displaying 1 result from an estimated 1 matches for "titledate".
Did you mean:
timedate
2012 Apr 13
1
Displayed Date Format in Plot Title.
Hello all,
I can't seem to figure out how to format a date as a title. I have
something like this:
plot(x=1:10, y=runif(10,1,18), main=paste(as.Date("2011-05-03",
format="%Y-%m-%d")))
## When I would really like this
plot(x=1:10, y=runif(10,1,18), main=paste("May-03-2011"))
## I thought to try this but that produces an NA.
plot(x=1:10, y=runif(10,1,18),