2144 search results for "Ggplot2"

Interactive Heatmaps (and Dendrograms) – A Shiny App

July 7, 2013
By
Interactive Heatmaps (and Dendrograms) – A Shiny App

Heatmaps are a great way to visualize data matrices. Heatmap color and organization can be used to  encode information about the data and metadata to help learn about the data at hand. An example of this could be looking at the raw data  or hierarchically clustering samples and variables based on their similarity or differences.

Read more »

ggmap : Interesting toolbox for spatial analysis

July 7, 2013
By
ggmap : Interesting toolbox for spatial analysis

ggmap is a new tool which enables such visualization by combining the spatial information of static maps from Google Maps, OpenStreetMap, Stamen Maps or CloudMade Maps with the layered grammar of graphics implementation of ggplot2The library is developped by David Kahle and Hadley Wickham and in the latest R/Journal (Volume 5/1, June 2013),...

Read more »

A Recipe for Trellis/Faceted Plots Using Base R Graphics

July 5, 2013
By
A Recipe for Trellis/Faceted Plots Using Base R Graphics

I frequently use lattice and ggplot2 to create trellis/faceted graphics. But, I gave up using these packages in a recent application, where I had initially constructed a complex graphic using the base R plotting functions. When I later decided that I wanted a faceted version, there was a dilema: re-create the complex graphic using lattice

Read more »

Creating good looking survival curves – the ‘ggsurv’ function

July 4, 2013
By
Creating good looking survival curves – the ‘ggsurv’ function

This is a guest post by Edwin Thoen Currently I am doing my master thesis on multi-state models. Survival analysis was my favourite course in the masters program, partly because of the great survival package which is maintained by Terry Therneau. The …Read more »

Read more »

Fun simulating Wimbledon in R and Python

July 4, 2013
By
Fun simulating Wimbledon in R and Python

R and Python have different strengths. There's little you can do in R you absolutely can't do in Python and vice versa, but there's a lot of stuff that's really annoying in one and nice and simple in the other. I'm sure simulations can be run in R, but it seems frightfully tricky. Recently I wrote a simple Tennis simulator...

Read more »

My take on the USA versus Western Europe comparison of GM corn

July 4, 2013
By
My take on the USA versus Western Europe comparison of GM corn

A few days ago I came across Jack Heinemann and collaborators’ article (Sustainability and innovation in staple crop production in the US Midwest, Open Access) comparing the agricultural sectors of USA and Western Europe‡. While the article is titled around the word sustainability, the main comparison stems from the use of Genetically Modified crops in

Read more »

Using R and Integer Programming to find solutions to FlowFree game boards

July 3, 2013
By
Using R and Integer Programming to find solutions to FlowFree game boards

Using R and Integer Programming to find solutions to FlowFree game boards What is FlowFree?A popular game (iOS/Android) on a square board with simple rules. As the website states: Connect matching colors with pipes to create a flow. Pair all color...

Read more »

The R journal – Volume 5/1, June 2013

July 3, 2013
By
r_project

The new R Journal is out! Click for a complete table of content with links to all papers.

Read more »

Which airline should you be loyal to?

July 2, 2013
By
Which airline should you be loyal to?

LOYALTY PROGRAM CHOICE BASED ON DEPARTURE COUNT If you read Decision Science News, you’re probably a professor or grad student or researcher or policy type who flies around a lot to conferences, symposia, workshops, tutorials, summer schools, and all-hands meetings. You travel the globe to give talks and work with co-authors. All this flying around The post Which...

Read more »

A Brief Look at Mixture Discriminant Analysis

July 2, 2013
By
A Brief Look at Mixture Discriminant Analysis

Lately, I have been working with finite mixture models for my postdoctoral work on data-driven automated gating. Given that I had barely scratched the surface with mixture models in the classroom, I am becoming increasingly comfortable with them. With this in mind, I wanted to explore their application to classification because there are times when a single class is clearly made up of...

Read more »