[R] as.Date function error
Wonjae Lee
wjlee2002 at naver.com
Sun Apr 17 15:34:40 CEST 2011
Hi,
I have some problems with as.Date function.
After I applied as.Date for my data, "2010" changed to "2020" as below
Where am I wrong?
Thanks
Wonjae
> x=c("11/16/2010","11/17/2010","11/18/2010","11/19/2010")
> x=as.Date(x,"%m/%d/%y")
> x
[1] "2020-11-16" "2020-11-17" "2020-11-18" "2020-11-19"
my R veision is 2.12.2.
--
View this message in context: http://r.789695.n4.nabble.com/as-Date-function-error-tp3455466p3455466.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list