Re: [R] Customise Plot tick label on time series plot using date series

2023-01-13 Thread roslinazairimah zakaria
Hi Rui, Thank you very much. It works beautifully. On Fri, Jan 13, 2023 at 3:36 PM Rui Barradas wrote: > Às 05:11 de 13/01/2023, roslinazairimah zakaria escreveu: > > Hi, > > > > I would like to customise my date series on the plot. I tried this: > > > > dt_ts <- ts(dt) > > autoplot(dt_ts[,2])

Re: [R] Customise Plot tick label on time series plot using date series

2023-01-12 Thread Rui Barradas
Às 05:11 de 13/01/2023, roslinazairimah zakaria escreveu: Hi, I would like to customise my date series on the plot. I tried this: dt_ts <- ts(dt) autoplot(dt_ts[,2]) + ylab("Charge counts") + xlab("Daily") but the label is not the date series. Tqvm for any help given. dput(dt)

[R] Customise Plot tick label on time series plot using date series

2023-01-12 Thread roslinazairimah zakaria
Hi, I would like to customise my date series on the plot. I tried this: dt_ts <- ts(dt) autoplot(dt_ts[,2]) + ylab("Charge counts") + xlab("Daily") but the label is not the date series. Tqvm for any help given. > dput(dt) structure(list(time = c("1/1/2014", "2/1/2014", "3/1/2014",