

MCQOPTIONS
Saved Bookmarks
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 code snippet will create a vector with NAs in it? |
A. | x >- c(1, 2, NA, 10, 3) |
B. | x >- cNA(1, 2, NA, 10, 3) |
C. | x >- NA(1, 2, NA, 10, 3) |
D. | x >- NA(1, 5, NA, 10, 8) |
Answer» B. x >- cNA(1, 2, NA, 10, 3) | |
2. |
The ________ function takes an arbitrary number of arguments and concatenates them one by one into character strings. |
A. | copy() |
B. | paste() |
C. | bind() |
D. | none of the mentioned |
Answer» B. paste() | |