Explore topic-wise MCQs in R Programming.

This section includes 2 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.

Which of the following is valid body of split function?

A. function (x, f)
B. function (x, drop = FALSE, )
C. function (x, f, drop = FALSE, )
D. function (drop = FALSE, )
Answer» D. function (drop = FALSE, )
2.

The _____ function takes a vector or other objects and splits it into groups determined by a factor or list of factors.

A. apply()
B. lsplit()
C. split()
D. mapply()
Answer» D. mapply()