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",

Re: [R] return value of {....}

2023-01-12 Thread Leonard Mada via R-help
Dear Akshay, The best response was given by Andrew. "{...}" is not a closure. This is unusual for someone used to C-type languages. But I will try to explain some of the rationale. In the case that "{...}" was a closure, then external variables would need to be explicitly declared before

[R] [R-pkgs] New CRAN package announcement: azlogr

2023-01-12 Thread Vivek Atal via R-packages
I am excited to announce that `azlogr` is published on CRAN! This package enables logging in 'R' by extending the functionality of 'logger' package. There is an option to add additional custom meta-data while logging, which can sometimes be helpful. Logging messages are displayed on console and

Re: [R] Background for word

2023-01-12 Thread Rui Barradas
Às 06:15 de 12/01/2023, Steven T. Yen escreveu: Dear, I am having a lucky day. I am programming in RStudio and when I type "black" (quotation signs included, the word turn into a word with black ground. Couldn't get rid of the backgroundcopying to Word, Excel, text editor and paste back