Hi everybody,
I need your precious help for, I think, a simple request, but I do not manage
to solve this.
When I use a "table" function with dates in the rows, the rows are coerced to
number after the table function.
So I need to transform the row names into date format. But I do not manage.
Therefore, for an example, I manage to write this :
datetest<-"06/01/2001"
datetest<-as.Date(datetest,"%d/%m/%Y")
datetest<-as.numeric(datetest)
to get 11328.
But I do not obtain the inverse tranformation :
datetest<-as.Date(datetest,"%d/%m/%Y")
How do we get this please ?
Thanks a lot for your solution.
Pierre.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html