This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Packages – 2”.
1. ______ is used to view all packages installed.
a) library()
b) search()
c) .libPaths()
d) stringr()
View Answer
Explanation: Both require() and library() can load (strictly speaking, attach) an R package.
2. ______ is used to get library location in R.
a) library()
b) search()
c) .libPaths()
d) stringr()
View Answer
Explanation: libPaths() can add new paths to set of library trees searched.
3. ________ is used to view packages currently loaded.
a) library()
b) search()
c) .libPaths()
d) stringr()
View Answer
Explanation: This search will allow you to search the contents of the R functions, package vignettes, and task views.
4. ________ contains tools for Approximate Bayesian Computation (ABC).
a) str
b) abc
c) zyz
d) yxq
View Answer
Explanation: The package implements several ABC algorithms for performing parameter estimation and model selection.
5. Which of the following package combine multi-dimensional arrays?
a) stringr
b) comb
c) abind
d) anlyz
View Answer
Explanation: This is a generalization of cbind and rbind.
6. Which of the following contains functions for processing uniaxial minute-to-minute accelerometer data?
a) accelerometry
b) abc
c) accrued
d) comb
View Answer
Explanation: This package contains a collection of functions that perform operations on time-series accelerometer data, such as identify non-wear time, flag minutes that are part of an activity about, and find the maximum 10-minute average count value.
7. __________ is used for selecting regression transformations.
a) gac()
b) gpl()
c) avas()
d) ggc()
View Answer
Explanation: ace() and avas() both are used for selecting regression transformations.
8. Which of the following is an R package for the exploratory analysis of genetic and genomic data?
a) adeg
b) adegenet
c) anc
d) abc
View Answer
Explanation: This package contains Classes and functions for genetic data analysis within the multivariate framework.
9. ______ specializes in functions for analytical Customer Relationship Management.
a) adagio
b) ada
c) aCRM
d) adeg
View Answer
Explanation: Convenience functions for data preparation and modeling are often used in aCRM.
10._________ searches for significant clusters in genetic data.
a) BayesCount
b) BayesComm
c) bayesclust
d) Bayescolcount
View Answer
Explanation: Bayesclust is an R package for testing and searching for significant clusters. BayesCount is used for power calculations and Bayesian analysis of count distributions and FECRT data using MCMC.
Sanfoundry Global Education & Learning Series – R Programming Language.
Here’s the list of Best Books in R Programming Language.
- Practice Programming MCQs
- Check R Programming Books
- Apply for Programming Internship
- Check Information Technology Books