[R] as.Date() function

José María Mateos chem@ @end|ng |rom r|nzew|nd@org
Sun Aug 19 23:30:34 CEST 2018


On Sun, Aug 19, 2018 at 05:20:29PM -0400, philipsm using cpanel1.stormweb.net wrote:
> Why the heck am I getting three NAs instead of three Dates?I have
> studied the R documentation for as.Date() and it has not turned on
> the light bulb for me.

I haven't encountered this problem before, but in my mind, if you want a 
date, you'll also need to specify the day. Only year and month won't cut 
it.

Cheers,

-- 
José María (Chema) Mateos
https://rinzewind.org/blog-es || https://rinzewind.org/blog-en




More information about the R-help mailing list