in Education by
Which of the following statement find cases with no missing values? (a) complete <- subset(data.df,complete.cases(data.df) (b) complete <- sub(data.df,complete.cases(data.df) (c) complete <- subset(data.df,completeall.cases(data.df) (d) new <- old[n1:n2,n3:n4] I had been asked this question by my college professor while I was bunking the class. The origin of the question is Commands in portion Commands, Packages, Visualizing Data and Linear Regression of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right option is (a) complete <- subset(data.df,complete.cases(data.df) To explain: new <- old[n1:n2,n3:n4] select the n1 through n2 rows of variables n3 through n4.

Related questions

0 votes
    Which of the following finds the maximum value in the vector x, exclude missing values? (a) rm(x) (b) ... Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    How missing values and impossible values are represented in R language? (a) NA (b) NAN (c) NA & NAN ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following count the number of good cases when doing pairwise analysis? (a) count.pairwise (b) ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following is used to find variance of all values? (a) var() (b) sd() (c) mean() ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following groups values of a variable into larger bins? (a) cut (b) col.max(x) (c) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    which of the following statement chose those objects meeting a logical criterion? (a) sub(dataset,logical) (b) ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    which of the following statement make a mosaic plot? (a) histogram() (b) mosaicplot() (c) bar() (d ... Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    Which of the following statement is another way to get a subset? (a) subsetcon(dataset,logical) (b) data ... of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    Which of the following statement finds the maximum for each column? (a) apply(x,2,max) (b) col.max(x ... Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    Which of the following statement read a tab or space delimited file? (a) read.table(filename,header=TRUE) ( ... of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    Which of the following statement can read csv files? (a) read.table(filename,header=TRUE,sep=',') (b) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    which of the following statement gives cumulative sum? (a) cumsum(x,na=rm=TRUE) (b) cumprod(x) (c) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which of the following groups find the correlation matrix? (a) factor.model (b) col.max(x) (c) stem ( ... Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    _________ variables are categorical variables which can hold either string or numeric values. (a) Factor (b) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Point out the correct statement? (a) R has a number of ways to indicate to you that something's not ... Debugging of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
...