2424 search results for "ggplot"

Golf Scramble Simulation in R

August 14, 2013
By
Golf Scramble Simulation in R

Golf Scramble Simulation Golf Scramble SimulationThis is a simulation of a standard best-ball golf scramble. Conventional wisdom has it that the best golfer (A) should hit last, the idea being that one of the lesser golfers may have a decent shot already so the...

Read more »

gridSVG Multi-line Data Bind with d3–US Treasury Yields

August 14, 2013
By
gridSVG Multi-line Data Bind with d3–US Treasury Yields

If you have not read the other posts on gridSVG and d3, I recommend reading those before progressing to this one. Facets or strips are one of my favorite features of lattice and ggplot2, so of course I want to extend our d3 reverse data bind to support these small multiples.  Let’s see one way of accomplishing...

Read more »

How do I re-arrange??: Ordering a plot revisited

August 14, 2013
By
How do I re-arrange??: Ordering a plot revisited

Back in October of last year I wrote a blog post about reordering/rearanging plots. This was, and continues to be, a frequent question on list serves and R help sites. In light of my recent studies/presenting on The Mechanics of … Continue reading →

Read more »

Stocks and Bonds Behavior by Decade

August 13, 2013
By
Stocks and Bonds Behavior by Decade

I struggled with whether or not I should even post this.  It is raw and ugly, but it might help somebody out there.   I might use this as a basis for some more gridSVG posts, but I do not think I have the motivation to finish the analysi...

Read more »

Free R Graphics Workshop, Copenhagen, Denmark, 26th August

August 13, 2013
By

Mango Solutions are pleased to announce a free R Graphics Workshop in Copenhagen on Monday 26th August (6-8pm). The workshop is open to all and any interested R users or those wishing to learn more about R.   The workshop will focus on using R to create powerful graphics, specifically covering: •             An introduction to R •             Getting data into...

Read more »

Short tales of two NCAA basketball conferences (Big 12 and West Coast) using graphs

August 12, 2013
By
Short tales of two NCAA basketball conferences (Big 12 and West Coast) using graphs

Having been at the University of Kansas (Kansas Jayhawks) as a student and now working at Gonzaga University (Gonzaga Bulldogs), discussions about college basketball are inescapable. This post uses R, ggmap, ggplot2 and the shiny server to graphically ...

Read more »

Finding Correlations in Data with Uncertainty

August 11, 2013
By
Finding Correlations in Data with Uncertainty

A week or so ago a colleague of mine asked if I knew how to calculate correlations for data with uncertainties. Now, if we are going to be honest, then all data should have some level of experimental or measurement error. However, I suspect that in the majority of cases these uncertainties are ignored when

Read more »

R/gridSVG/d3 Line Reverse Data Bind

August 8, 2013
By
R/gridSVG/d3 Line Reverse Data Bind

I veer from finance to tech, so let’s use some data from FRED/OECD this time.  I do not think I need to comment much on what has happened to New Car Registrations in Greece. Reverse data binding a line plot from ggplot2 or lattice is slightly more difficult than what we saw in the last post I Want...

Read more »

R on Your iPhone (Not the Way You Think)

August 8, 2013
By
R on Your iPhone (Not the Way You Think)

If you really love R, you should put it on your iPhone.  Apple gives the measurements for its products here. Let's use a little grid magic with ggplot2 to make a chart for the back of your iphone similar to this. require(grid)require(ggplot2)# thanks for the Apple measurements# https://developer.apple.com/resources/cases/x11( height = as.numeric(convertX(unit(58.55, "mm"), "in")),...

Read more »

How to choose a new business location with R

August 6, 2013
By
How to choose a new business location with R

This guest post is by Rodolfo Vanzini. Rodolfo is senior partner at eXponential.it — an asset management consultancy based in Italy — and advises clients on investment management issues. He taught at the University of Siena and is an analytics professional. With an economist education and a financial markets expertise four years ago I thought I couldn't be of...

Read more »