1830 search results for "ggplot2"

New R-generated Video: Has StackOverflow Posting Behavior Changed Over Time?

October 5, 2011
By
New R-generated Video:  Has StackOverflow Posting Behavior Changed Over Time?

Sparks have been flying between my favorite data analysis language and my favorite programmer's Q & A site since long ago: R flirted with StackOverflow on September 10, 2008, 5 days before StackOverflow was even open to the public. R still hesitates to leave its original suitor, the loud and lively R-help mailing list, where

Read more »

Latent class mixed models – with graphics

October 2, 2011
By
Latent class mixed models – with graphics

Foreword Apologies that the output isn’t showing well as far as spacing and alignment is concerned. Am working on fixing that! Background Generally when we have a set of data, we have known groupings. Be that three different treatment groups, … Continue reading →

Read more »

Dollars and cents: How are you at estimating the total bill?

September 30, 2011
By
Dollars and cents: How are you at estimating the total bill?

When estimating the cost of a bunch of purchases, a useful heuristic is rounding to the nearest dollar. (In fact, on US income tax returns, one is allowed to omit the cents). If prices were uniformly distributed, the following two heuristics would be equally accurate: * Rounding each item up or down to the nearest dollar and summing * Rounding each...

Read more »

ttrTests This is a Test Test 3:Data Snoopy

September 30, 2011
By
ttrTests This is a Test Test 3:Data Snoopy

THIS IS NOT INVESTMENT ADVICE.  IT IS JUST AN EXAMPLE AND WILL LIKELY LOSE LOTS OF MONEY IF YOU PURSUE WHAT IS DISCUSSED.  READER IS RESPONSIBLE FOR THEIR OWN GAINS OR LOSSES.  IF YOU ARE AN UNLIKELY WINNER, I WOULD LOVE TO HEAR YOUR STO...

Read more »

Microfinance Map of India – another go…

September 30, 2011
By
Microfinance Map of India – another go…

I gave it another go, trying to get a map that looks a bit nicer. This time, I tried to compute something like a density or intensity in a certain area. On the previous map, this was not visible very well. I used ggplot2 and a bit of R code, together with RGoogleMaps to produce the

Read more »

Customizing your .rprofile

September 29, 2011
By

I searched around to see if there was a blog post somewhere describing how to customize one’s .rprofile but was surprised to find just one outdated post. So here is quick intro on the topic. If you are a power R user, you already know about what it does. For those of you that don’t,

Read more »

Googling Bayes’ pictures

September 29, 2011
By
Googling Bayes’ pictures

I am writing way too many posts in a row on Google tools. I promise I will think about something else soon. I find amusing the possibility to launch a search in Google images by just dragging a picture into … Continue reading →

Read more »

ttrTests This is a Test–Test 1 and Test 2

September 28, 2011
By
ttrTests This is a Test–Test 1 and Test 2

Just to remind everyone, THIS IS NOT INVESTMENT ADVICE AND ANY ACTIONS TAKEN BASED ON THIS DISCUSSION WILL PROBABLY RESULT IN SIGNIFICANT LOSSES. We had fun with the ttrTests package in two previous posts ttrTests: Its Great Thesis and Incredible Poten...

Read more »

Using transparency for data count intuition

September 27, 2011
By
Using transparency for data count intuition

This is an illustration of representing point count in a graphic using transparency. This is easy to do in ggplot2 if you use one of the barchart type of geoms.  However I think there are other situations where it would be useful to apply aesthetics based on point count. Since Hadley did a lot of

Read more »

Reporting Good Enough to Share

September 15, 2011
By
Reporting Good Enough to Share

Sorry to all my faithful readers for my absence recently. I started a new job at a new firm, so my blogging has moved down the priority list but only temporarily. I am still committed to documenting my thoughts, especially finance and R thoughts as dis...

Read more »