Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read the papers Color codingLinks to an external site. and Mapping quantitative data to colorLinks to an external site. by Nils Gehrenborg and Bang Wong

Read the papers "Color codingLinks to an external site." and "Mapping quantitative data to colorLinks to an external site." by Nils Gehrenborg and Bang Wong published in Nature Methods in August 2010 and 2012. In class, we have started to talk about ggplot2.

Answer the following question:

a) By default, how does ggplot2 handle color mapping of quantitative and qualitative variables? Give an example.

b) ColorBrewer gives different choices of color schemes. Describe the difference between a gradient, a divergent and a qualitative scheme. Give data examples for each one of these schemes.

Using + scale_colour_brewer(palette="put scheme name here") as an addition to a ggplot2 chart allows us to use colour brewer schemes. Modify your example in (a) and show your code.

Need the examples for the Graphs code in R not sure what can be a simple example for each. Need basic examples

Step by Step Solution

3.51 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

QUESTION Read the papers Color codingLinks to an external site and Mapping quantitative data to colo... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing a business risk appraoch

Authors: larry e. rittenberg, bradley j. schwieger, karla m. johnston

6th Edition

9780324645095, 324645090, 978-0324375589

More Books

Students also viewed these Programming questions