Examveda

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: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics