Q. What will be the output of the following R code?
> x <- as.Date("2012-03-01")
> y <- as.Date("2012-02-28")
> x-y
> x <- as.Date("2012-03-01")
> y <- as.Date("2012-02-28")
> x-y
β
Correct Answer: (B)
Time difference of 2 days