2036 search results for "ggplot"

How to order bars in bar graph (Stack Overflow FAQ)

June 13, 2012
By

How to order bars in bar graph (Stack Overflow FAQ)

Read more »

Visualizing Euro 2012: First Group Games

June 12, 2012
By
Visualizing Euro 2012: First Group Games

Now that every team has played a match it will be interesting to see how this has affected the (inverse) odds of victory. Since the plot in my last post was a bit ‘busy’, I have decided to use the facet_wrap function in gglplot2 to stratify by group. Also, re-producing the ‘busy’ plot from the

Read more »

How to outrun a crashing alien spaceship

June 11, 2012
By
How to outrun a crashing alien spaceship

Hollywood movies are obsessed with outrunning explosions and outrunning crashing alien spaceships. For explosions the movies give the optimal (but unusable) solution: run straight away. For crashing alien spaceships they give the same advice, but in this case it is wrong. We demonstrate the correct angle to flee. Running from a crashing alien spaceship, Prometheus Related posts:

Read more »

R starter resources

June 8, 2012
By
R starter resources

I’m hardly the first person you would want to talk to about learning statistics in R. But if you’re bent on teaching yourself R, and you’ve ended up at my blog, here are some resources I found useful. (No opinions here about whether R is good/bad better/worse than Excel, Minitab, Matlab, Octave, SPSS, Stata, SAS,

Read more »

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 »

Simulation in the profiling model

June 7, 2012
By
Simulation in the profiling model

In this post I try to make a small simulation of the sensory (flavour) profiling data, and examine if the parameters of simulated data can be retrieved by the Bayesian model build in the previous posts.The conclusion is that it is difficult, the amount...

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 »

Managing the deluge of DNA data

June 5, 2012
By
Managing the deluge of DNA data

The explosion in DNA sequencing capacity has shifted the experimental bottleneck from sequencing to analyzing and interpreting sequences. The bioconductor package cummeRbund uses ggplot as part of its tool set for organizing, exploring and visualizing ...

Read more »