1763 search results for "ggplot2"

Choosing colour palettes. Part II: Educated Choices.

June 7, 2012
By
Choosing colour palettes. Part II: Educated Choices.

There are many resources on the use of colours in R, several packages, and a number of schemes already implemented in ggplot2. In the previous part, we saw how ggplot2 selects a default colour palette according to the type of variable, discrete or cont...

Read more »

Mapping the World’s Biggest Airlines

June 7, 2012
By
Mapping the World’s Biggest Airlines

The map above shows the routes flown by the top 7 airli

Read more »

Load Packages Automatically in RStudio

June 6, 2012
By
Load Packages Automatically in RStudio

I recently finished a long stretch of work on a particular project that required me to draw upon four R packages.  Each time I got back to my work on the project, I’d have to load the packages manually, as … Continue reading →

Read more »

Body Weight in the United States – Part 1, "The Problem"

June 6, 2012
By
Body Weight in the United States – Part 1, "The Problem"

The Problem In the United States, people are getting fatter and they are doing so at an alarming rate. So What? Being fat isn't just a social stigma - it's unhealthy in nearly every facet of life. Staying in this condition brings high blood pressure, diabetes, asthma and arthritis to name...

Read more »

Coding a dynamic systems and controlling it via a graphical user interface

June 3, 2012
By
Coding a dynamic systems and controlling it via a graphical user interface

My work, in the past year, has consisted mostly of coding dynamic models in R, models which I will soon be exporting to a server-based R implementation, possibly thanks to rApache.I ususally run my models through an input file where I specify all param...

Read more »

Online Course from Statistics.com: Advanced Programming in R

May 30, 2012
By

  Hadley Wickham teaches “Programming in R – Advanced,” June 15 – July 13 online at Statistics.com. This is the third in a series of courses that cover programming in R, so if you are new to the subject you should start with our Jul 27 course “Introduction to R: Data Handling.” Upcoming Courses: Jun 15:  Advanced Programming in R...

Read more »

Choosing colour palettes. Part I: Introduction

May 29, 2012
By
Choosing colour palettes. Part I: Introduction

In this series of three posts, we’ll look at colours in R graphics produced with ggplot2: what are the available choices of colour schemes, and how to choose a colour palette most suitable for a particular graphic? In kindergarten, choosing a co...

Read more »

Automating repetitive plot elements

May 26, 2012
By
Automating repetitive plot elements

The syntax of ggplot2 emphasizes constructing plots by adding components, or layers, using +. Possibly one of the most useful, but least remarked upon, consequences of this syntax is that it allows for an incredible degree of flexibility in saving and...

Read more »

Grexit stage left: visualizing the online discussion around Greece’s possible Euro exit

May 24, 2012
By
Grexit stage left: visualizing the online discussion around Greece’s possible Euro exit

  While Tsipras and his Syriza coalition have been busy in Greek parliament, the Internet has been a-buzz with speculation that their platform will result in a Greek exit from the Euro currency.  This prospect, affectionately dubbed “Grexit” by Citi… Read more ›

Read more »

Global Fires, the Amazon and Humans

May 23, 2012
By
Global Fires, the Amazon and Humans

Fires are natural - most of the time (click on image for larger view). Natural Global Fires Many plants and animals have evolved to depend on fires periodically occurring in certain parts of the world. This phenomenon has been occurring for...

Read more »