Examveda

What will be the output of the following R code?
> datestring <- c("January 10, 2012 10:40", "December 9, 2011 9:10")
> x <- strptime(datestring, "%B %d, %Y %H:%M")
> x

A. "2012-01-10 10:40:00 EST" "2011-12-09 09:10:00 EST"

B. "2012-01-10 10:40:00 IST" "2011-12-09 09:10:00 IST"

C. "2012-01-10 10:40:00 GMT" "2011-12-09 09:10:00 GMT"

D. Error

Answer: Option A


This Question Belongs to R Programming >> Data Structures In R Programming

Join The Discussion

Related Questions on Data Structures in R Programming