1786 search results for "ggplot2"

Stop! (In the name of a sensible interface)

August 12, 2011
By
Stop! (In the name of a sensible interface)

In my last post I talked about using the number of lines in a function as a guide to whether you need to break it down into smaller pieces. There are many other useful metrics for the complexity of a function, most notably cyclomatic complexity, which tracks the number of different routes that code can

Read more »

Monster functions (Raaargh!)

August 12, 2011
By
Monster functions (Raaargh!)

It’s widely considered good programming practice to have lots of little functions rather than a few big functions. The reasons behind this are simple. When your program breaks, it’s much nicer to debug a five line function than a five hundred line function. Additionally, by breaking up your code into little chunks, you often find

Read more »

Analysis of Japanese Earthquakes Data

August 10, 2011
By
Analysis of Japanese Earthquakes Data

Latest version is here.Greater attention is much more about earthquakes, Touhoku earthquake has occurred on March 11, 2011. Earthquake data are released at Japan Weather Association's Tenki.jp. We can get these variables from the site.Date, TimeAreaLat...

Read more »

Using a “pure infographic” to explore differences between information visualization and statistical graphics

August 10, 2011
By
Using a “pure infographic” to explore differences between information visualization and statistical graphics

Our discussion on data visualization continues. One one side are three statisticians–Antony Unwin, Kaiser Fung, and myself. We have been writing about the different goals served by information visualization and statistical graphics. On the other side are graphics experts (sorry for the imprecision, I don’t know exactly what these people do in their day jobs The post Using...

Read more »

Slides from Rocky Mtn SABR Meeting

August 8, 2011
By
Slides from Rocky Mtn SABR Meeting

Last Saturday I had the good fortune to present a talk on finding, gathering, and analyzing some sports-related data on the web at the local SABR group meeting.  In case you’re not familiar with the “SABR” acronym, it stands for … Continue reading →

Read more »

Visualising Wikipedia search statistics with R

August 6, 2011
By
Visualising Wikipedia search statistics with R

I have been playing with R to parse html. After reading about visualising “fantasy football” search traffic with RGoogleTrends at The Log Cabin blog I decided to write a few functions to do similar things with Wikipedia search statistics. This … Continue reading →

Read more »

Programmers Should Know R

August 6, 2011
By
Programmers Should Know R

Programmers should definitely know how to use R. I don’t mean they should switch from their current language to R, but they should think of R as a handy tool during development.Again and again I find myself working with Java code like the following. td.linenos { background-color: #f0f0f0; padding-right: 10px; } span.lineno { background-color: #f0f0f0; Related posts:

Read more »

Does Jon Skeet have mental powers that make us upvote his answers? (The effect of reputation on upvotes)

August 4, 2011
By
Does Jon Skeet have mental powers that make us upvote his answers? (The effect of reputation on upvotes)

Of course since we all know Jon Skeet does have various powers, I will move onto unanswered questions, whether a users reputation makes them receive more upvotes for answers. I’ve seen this theory mentioned in multiple places (see any of the comments to Jon Skeet’s answer that are along the lines of “If this was

Read more »

Data Driven Story Discovery: Working Up a Multi-Layered Chart

August 3, 2011
By
Data Driven Story Discovery: Working Up a Multi-Layered Chart

How many different dimensions (or “columns” in a dataset where each row represents a different sample and each column a different measurement taken as part of that sample) can you plot on a chart? Two are obvious: X and Y values, which are ideal for representing continuous numerical variables. If you’re plotting points, as in

Read more »

Are students’ teaching evaluations influenced by instructors’ looks?

August 3, 2011
By
Are students’ teaching evaluations influenced by instructors’ looks?

Are students' teaching evaluations influenced by instructors' looks? ggplot2 may help find the answer.The recent release of RcmdrPlugin.KMggplot2 has made ggplot2 available to those who prefer GUI to the command line interface. With the new plugin for ...

Read more »