What is the function used to test objects (returns a logical operator) if they are NaN?

What is the function used to test objects (returns a logical operator) if they are NaN?
A. as.nan()
B. is.na()
C. as.na()
D. is.nan()
 
Answer: d
Explanation: is.nan() is used to test if they are NaN. We can check NAN‘s at any stage of the code. We will remove the NA’s for the operations in R. is.nan() is used to test for NaN.
 

Tìm kiếm

Back
Top