gs gs110 R - Data Storage, Formats, Objects and Operations - Vectorized Operations - Quiz No.2
gs gs110 R Language Quiz
This quiz belongs to book/course code gs gs110 R Language of gs organization. We have 87 quizzes available related to the book/course R Language. This quiz has a total of 8 multiple choice questions (MCQs) to prepare and belongs to topic R - Data Storage, Formats, Objects and Operations. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
> datestring <- c("January 10, 2012 10:40", "December 9, 2011 9:10") > x <- strptime(datestring, "%B %d, %Y %H:%M") > x
> x <- as.Date("2012-01-01") > y <- strptime("9 Jan 2011 11:34:21", "%d %b %Y %H:%M:%S") > x-y
> x <- as.Date("2012-03-01") > y <- as.Date("2012-02-28") > x-y
> x <- as.POSIXct("2012-10-25 01:00:00") > y <- as.POSIXct("2012-10-25 06:00:00", tz = "GMT") > y-x