Vidyalelo
R Programming · Q107

R Programming Basics

Programming · R Programming · question 107

Q107

Which of the following code snippet will create a vector with NAs in it?

A.
x >- c(1, 2, NA, 10, 3)
Answer
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: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board