Às 00:58 de 10/05/2024, Sorkin, John escreveu:
I am trying to use ggplot to plot the data, and R code, below. The dates
(jdate) are printing as Mar 01, Mar 15, etc. I want to have the date printed as
MMM DD (or any other way that will show month, date, and year, e.g.
mm/dd/yy). How can I
gg0 <- ggplot(data=yyy[1:30,],aes(as.Date(jdate,format="%m-%d-%Y"),Sum))
+geom_point()
gg0 + scale_x_date(date_labels = "%m/%d/%Y")
On 2024-05-09 7:58 p.m., Sorkin, John wrote:
I am trying to use ggplot to plot the data, and R code, below. The dates
(jdate) are printing as Mar 01, Mar 15, etc
I am trying to use ggplot to plot the data, and R code, below. The dates
(jdate) are printing as Mar 01, Mar 15, etc. I want to have the date printed as
MMM DD (or any other way that will show month, date, and year, e.g.
mm/dd/yy). How can I accomplish this?
yyy <- structure(list(
jdate
3 matches
Mail list logo