Hello, I want to change the day of the month in a date object. What I am doing at the moment is:
x=as.POSIXlt(x) x$mday=13 x=as.Date(x) Does anybody know if there is a more "natural" (eficient) way to do this Thank you Felipe Parra [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.