adplus-dvertising

Welcome to the Commands and Packages MCQs Page

Dive deep into the fascinating world of Commands and Packages with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Commands and Packages, a crucial aspect of R Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of Commands and Packages, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within R Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Commands and Packages. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of R Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Commands and Packages. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Commands and Packages MCQs | Page 2 of 8

Q11.
Which of the following code will drop the nth column?
Discuss
Answer: (a).new <- old[-n,]
Q12.
Which of the following code drop the ith and jth column?
Discuss
Answer: (c).new <- old[,-c(i,j)]
Discuss
Answer: (a).complete <- subset(data.df,complete.cases(data.df)
Discuss
Answer: (a).dnorm(x, mean=0, sd=1, log = FALSE)
Q15.
which of the following statement gives cumulative sum?
Discuss
Answer: (a).cumsum(x,na=rm=TRUE)
Discuss
Answer: (a).dunif(x, min=0, max=1, log = FALSE)
Q17.
Which of the following truncates real x to integers?
Discuss
Answer: (b).as.integer(x)
Q18.
Which of the following tests each element of x for membership in y?
Discuss
Answer: (d).x%in%y
Q19.
Which of the following finds the maximum value in the vector x, exclude missing values?
Discuss
Answer: (b).max(x, na.rm=TRUE)
Q20.
Which of the following produces the variance covariance matrix?
Discuss
Answer: (d).var(x, na.rm=TRUE)
Page 2 of 8

Suggested Topics

Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!