logo
  • Home
  • Test & Rank
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Mining
  • Marine
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Jobs
  • Contact

R-Programming Multiple Choice Questions | MCQs | Quiz

R Programming Interview Questions and Answers
Practice R Programming questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   R History
•   R Overview
•   R Basics
•   Console Input & Evaluation
•   Data Types - 1
•   Data Types - 2
•   Data Types - 3
•   Reading Datasets - 1
•   Reading Datasets - 2
•   Textual Data Formats
•   Connection Interfaces
•   Subsetting - 1
•   Subsetting - 2
•   Vectorized Operations-1
•   Vectorized Operations-2
•   Dplyr Basics - 1
•   Dplyr Basics - 2
•   Control Structures - 1
•   Control Structures - 2
•   Control Structures - 3
•   Functions - 1
•   Functions - 2
•   Dates & Times
•   Scoping Rules - 1
•   Scoping Rules - 2
•   Loop Functions - 1
•   Loop Functions - 2
•   Debugging
•   Debugging Tools
•   Simulation - 1
•   Simulation - 2
•   R Profiler - 1
•   R Profiler - 2
•   R ggplot2 - 1
•   R ggplot2 - 2
•   R ggplot2 - 3
•   Data Wrangling - 1
•   Data Wrangling - 2
•   Exploratory Data Analysis-1
•   Exploratory Data Analysis-2
•   Commands - 1
•   Commands - 2
•   Commands - 3
•   Packages - 1
•   Packages - 2
•   Packages - 3
•   Visualizing Data - 1
•   Visualizing Data - 2
•   Linear Regression
•   Predictive Analytics

Best Reference Books

R Programming Books

R Programming Tests

Certification Test
Internship Test
Job Test
All Tests
Top Rankers
Practice Test 1
Practice Test 2
Practice Test 3
Practice Test 4
Practice Test 5
Practice Test 6
Practice Test 7
Practice Test 8
Practice Test 9
Practice Test 10
Mock Test 1
Mock Test 2
Mock Test 3
Mock Test 4
Mock Test 5
Mock Test 6
Mock Test 7
Mock Test 8
Mock Test 9
Mock Test 10
« Prev Page
Next Page »

R Programming Questions and Answers – ggplot2-1

Posted on July 12, 2015 by Manish

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “ggplot2-1”.

1. _______ grammar makes a clear distinction between your data and what gets displayed on the screen or page.
a) ggplot1
b) ggplot2
c) d3.js
d) all of the mentioned
View Answer

Answer: b
Explanation: The emphasis in ggplot2 is reducing the amount of thinking time by making it easier to go from the plot in your brain to the plot on the page.

advertisement

2. Point out the wrong statement :
a) mean_se is used to calculate mean and standard errors on either side
b) hmisc wraps up a selection of summary functions from Hmisc to make it easy to use
c) plot is used to create a scatterplot matrix (experimental)
d) all of the mentioned
View Answer

Answer: c
Explanation: plotmatrix is used to create a scatterplot matrix (experimental).

3. Which of the following cuts numeric vector into intervals of equal length ?
a) cut_interval
b) cut_time
c) cut_number
d) all of the mentioned
View Answer

Answer: a
Explanation: cut_number cuts numeric vector into intervals containing equal number of points.

4. Which of the following is a plot to investigate the order in which observations were recorded ?
a) ggplot
b) ggsave
c) ggpcp
d) ggorder
View Answer

Answer: d
Explanation: ggsave save a ggplot with sensible defaults.

5. Point out the wrong statement :
a) theme_minimal is minimalistic theme with no background annotations
b) theme_color is classic-looking theme, with x and y axis lines and no gridlines
c) theme_classic is a classic-looking theme
d) none of the mentioned
View Answer

Answer: b
Explanation: theme_classic is a classic-looking theme, with x and y axis lines and no gridlines.

advertisement

6. ________ is used for translating between qplot and base graphics.
a) translate_qplot_base
b) translate_qplot_gpl
c) translate_qplot_lattice
d) translate_qplot_ggplot
View Answer

Answer: a
Explanation: translate_qplot_gpl is used for translating between qplot and Graphics Production Library (GPL).

7. __________ modifies geom/stat aesthetic defaults for future plots
a) translate_qplot_base
b) translate_qplot_gpl
c) translate_qplot_defaults
d) translate_qplot_ggplot
View Answer

Answer: c
Explanation: translate_qplot_gpl is used for translating between qplot and Graphics Production Library (GPL).

8. Which of the following is discrete state calculator ?
a) discrete_scale
b) ggpcp
c) ggfluctuation
d) all of the mentioned
View Answer

Answer: c
Explanation: ggpcp is used to create a parallel coordinate plot.

9. Which of the following creates fluctuation plot ?
a) ggmissplot
b) ggmissing
c) ggfluctuation
d) all of the mentioned
View Answer

Answer: b
Explanation: Fluctuations are used to detect outliers.

10. ________ is used to create a plot to illustrate patterns of missing values.
a) ggmissplot
b) ggmissing
c) ggfluctuation
d) all of the mentioned
View Answer

Answer: b
Explanation: The missing values plot is a useful tool to get a rapid overview of the number and pattern of missing values in a dataset.
advertisement

Sanfoundry Global Education & Learning Series – R Programming Language.

Here’s the list of Best Reference Books in R Programming Language.

To practice all areas of R Programming Language, Here is complete set of 1000+ Multiple Choice Questions and Answers.
« Prev Page - R Programming Questions and Answers – R Profiler-2
» Next Page - R Programming Questions and Answers – ggplot2 – 2

« R Programming Questions and Answers – R Profiler-2
R Programming Questions and Answers – ggplot2 – 2 »
advertisement

Deep Dive @ Sanfoundry:

  1. C Algorithms, Problems & Programming Examples
  2. C# Programming Examples on Threads
  3. C# Programming Examples on Conversions
  4. C Programming Examples on Bitwise Operations
  5. C Programming Examples on Arrays
  6. Java Programming Examples on Arrays
  7. C# Programming Examples on Functions
  8. Ruby Programming Questions and Answers
  9. C# Programming Examples on Inheritance
  10. R Programming Questions and Answers
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.