Question
> 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
Posted under R Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be the output of the following R code?
Similar Questions
Discover Related MCQs
Q. Point out the wrong statement?
View solution
Q. Which of the following return a subset of the columns of a data frame?
View solution
Q. Point out the correct statement?
View solution
Q. _________ extract a subset of rows from a dataframe based on logical conditions.
View solution
Q. _________ generate summary statistics of different variables in the data frame, possibly within strata.
View solution
Q. Point out the wrong statement?
View solution
Q. ________ add new variables/columns or transform existing variables.
View solution
Q. The _______ operator is used to connect multiple verb actions together into a pipeline.
View solution
Q. The dplyr package can be installed from GitHub using the _______ package.
View solution
Q. The dplyr package can be installed from CRAN using __________
View solution
Q. Which of the following object is masked from ‘package: stats’?
View solution
Q. The _________ function can be used to select columns of a data frame that you want to focus on.
View solution
Q. Point out the correct statement?
View solution
Q. ________ function is similar to the existing subset() function in R but is quite a bit faster.
View solution
Q. Columns can be arranged in descending order too by using the special ____ operator.
View solution
Q. Point out the wrong statement?
View solution
Q. The _________ function is used to generate summary statistics from the data frame within strata defined by a variable.
View solution
Q. The ______ operator allows you to string operations in a left-to-right fashion.
View solution
Q. There is an SQL interface for relational databases via the _______ package.
View solution
Q. dplyr can be integrated with the ________ package for large fast tables.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!