Explore topic-wise MCQs in R Programming.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

_________ is used to convert wide data to long data.

A. melt
B. dcast
C. cast
D. rcast
Answer» B. dcast
2.

______ specializes in converting data from wide to long format.

A. gcc
B. reshape
C. reshape2
D. gcc2
Answer» D. gcc2
3.

Which of the following is similar to Moment.js?

A. stringr
B. lubridate
C. ploy
D. forecast
Answer» C. ploy
4.

Which of the following syntax is used to install forecast package?

A. install.pack( forecast )
B. install.packages( cast )
C. install.packages( forecast )
D. install.pack( forecastcast )
Answer» D. install.pack( forecastcast )
5.

______ splits a data frame and results an array (hence the da). Hopefully you re getting the idea here.

A. apply
B. daply
C. stats
D. plyr
Answer» C. stats
6.

______ let s you perform SQL queries on your R data frames.

A. sqldf
B. plyr
C. forecast
D. daply
Answer» C. forecast