Re: [R] Date as numeric

2015-03-23 Thread MacQueen, Don
No formula behind that: > as.numeric("2012-11-11 19:05:00 UTC") [1] NA Warning message: NAs introduced by coercion If a character string is recognizable as a number, you get that number. For example: > as.numeric('3') [1] 3 But your character string isn't recognizable as a number, so you get N

[R] Date as numeric

2015-03-23 Thread Eduardo M. A. M.Mendes
Hello I wonder what the formula behind as.numeric("2012-11-11 19:05:00 UTC”) is. Many thanks Ed __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://w