R Programming Questions and Answers – Visualizing Data – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Visualizing Data – 1”. 1. Which of the following method make vector of repeated values? a) rep() b) data() c) view() d) read() 2. Which of the following finds the position of a quantile in a dataset? a) quantile() b) barplot() … Read more

advertisement

R Programming Questions and Answers – Packages – 5

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Packages – 5”. 1. _______ is not useful when developing a package since you have to install the package first. a) Function b) Library c) Interface d) Class 2. Which function is used for seeing currently active libraries? a) Curlib() b) … Read more

advertisement

R Programming Questions and Answers – Packages – 4

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Packages – 4”. 1. What will be the output of the following R code? install.packages(c("devtools", "roxygen2")) a) Develops the tools b) Exits R studio c) Installs the given packages d) Nothing happens 2. Which of the following is the formal requirement? … Read more

advertisement

R Programming Questions and Answers – Packages – 3

This set of R Programming Puzzles focuses on “Packages – 3”. 1. ______ Uses Grieg-Smith method on 2 dimensional spatial data. a) G.S. b) g.data c) G1DBN d) G2db 2. ______ finds K best paths in a given graph. a) kBestShortestPaths b) kcirt c) ktrees d) kmap 3. ________ is a package for parsing, applying, … Read more

advertisement

R Programming Questions and Answers – Packages – 2

This set of tough R Programming Questions focuses on “Packages – 2”. 1. ______ is used to view all packages installed. a) library() b) search() c) .libPaths() d) stringr() 2. ______ is used to get library location in R. a) library() b) search() c) .libPaths() d) stringr() 3. ________ is used to view packages currently … Read more

advertisement

R Programming Questions and Answers – Packages – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Packages – 1”. 1. ______ let’s you perform SQL queries on your R data frames. a) sqldf b) plyr c) forecast d) daply 2. ______ splits a data frame and results an array (hence the da). Hopefully you’re getting the idea … Read more

advertisement

R Programming Questions and Answers – Commands – 3

This set of tough R Programming questions and answers focuses on “Commands – 3”. 1. Which of the following will reverse the order of values in x? a) rev(x) b) max(x, na.rm=TRUE) c) all(x) d) x%in%y 2. Which of the following finds row sums for each level of a grouping variable? a) rowSums (x, na.rm … Read more

advertisement

R Programming Questions and Answers – Commands – 2

This set of tricky R Programming questions and answers focuses on “Commands – 2”. 1. Which of the following code will drop the nth column? a) new <- old[-n,] b) new <- old[,-n] c) new <- old[,-c(i,j)] d) new <- subset(old,logical) 2. Which of the following code drop the ith and jth column? a) new … Read more

advertisement

R Programming Questions and Answers – Commands – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Commands – 1”. 1. Which of the following code create n samples of size “size” with probability prob from the binomial? a) z <- rinom(n,size,prob) b) z <- rbinom(n,size,prob) c) z <- binom(n,size,prob) d) z >- nom(n,size,prob) 2. Which of the … Read more

advertisement

R Programming Questions and Answers – Exploratory Data Analysis – 2

This set of Advanced R Programming Questions & Answers focuses on “Exploratory Data Analysis – 2”. 1. __________ produces box-and-whisker plots. a) xyplot b) dotplot c) barchart d) bwplot 2. __________ produces bivariate scatterplots or time-series plots. a) xyplot b) dotplot c) barchart d) bwplot 3. Annotation of plots in any plotting system involves adding … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.