in Education by
What is the function used to test objects (returns a logical operator) if they are NA? (a) is.na() (b) is.nan() (c) as.na() (d) as.nan() I had been asked this question during an online exam. The above asked question is from Overview of R topic in chapter History, Overview and Getting Started of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The correct option is (a) is.na() The explanation: is.na() is the function used to test if they are NA. We can check NA ‘s at any stage of the code. Generally, We will remove the NA’s for the operations in R like mean etc.., is.na() is used to test objects if they are NA.

Related questions

0 votes
    What is the function used to test objects (returns a logical operator) if they are NaN? (a) as.nan() ... Started of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following operator is used to create integer sequences? (a) : (b) ; (c) - (d) ~ I ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following can be used to display the names of (most of) the objects which are currently stored ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    If commands are stored in an external file, say commands.R in the working directory work, they may be executed ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    If the code is stored in the external file, which of the following function is used to call them to a ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    In R language, a vector is defined that it can only contain objects of the ________ (a) Same class (b) ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    A list is represented as a vector but can contain objects of ___________ (a) Same class (b) Different class ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Advanced users can write ___ code to manipulate R objects directly. (a) C, C++ (b) C++, Java (c) ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Advanced programmers can write ______ code to manipulate R objects. (a) Python (b) Java (c) C (d) Java ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    They primary R system is available from the ______ (a) CRAN (b) CRWO (c) GNU (d) CRDO This question ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    __________ function is used to watch for all available packages in library. (a) lib() (b) fun.lib() (c ... Started of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    Which function is used to automatically vectorize? (a) lapply() (b) kapply() (c) mapply() (d) happly( ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Dataframes can be converted into a matrix by calling the following function data ______ (a) matr() (b) matrix ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Matrices can be created by row-binding with the help of the following function. (a) rjoin() (b) rbind() ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    What is the function to set column names for a matrix? (a) names() (b) colnames() (c) col.names() ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
...