2010 search results for "ggplot"

Soup up your R environment: how to install packages

January 31, 2013
By
Soup up your R environment: how to install packages

Today we are going to make additions to our R environment in a common process called installing packages. The transition won’t be as long, drastic nor emotional as an episode of Extreme Makeover: Home Edition, but it does add on more capabilities to your R environment. A package is a bunch of codes combined and distributed

Read more »

Using SPARQL Query Libraries to Generate Simple Linked Data API Wrappers

January 31, 2013
By
Using SPARQL Query Libraries to Generate Simple Linked Data API Wrappers

A handful of open Linked Data have appeared through my feeds in the last couple of days, including (via RBloggers) SPARQL with R in less than 5 minutes, which shows how to query US data.gov Linked Data and then Leigh Dodds’ Brief Review of the Land Registry Linked Data. I was going to post a

Read more »

Using SPARQL Query Libraries to Generate Simple Linked Data API Wrappers

January 31, 2013
By
Using SPARQL Query Libraries to Generate Simple Linked Data API Wrappers

A handful of open Linked Data have appeared through my feeds in the last couple of days, including (via RBloggers) SPARQL with R in less than 5 minutes, which shows how to query US data.gov Linked Data and then Leigh Dodds’ Brief Review of the Land Registry Linked Data. I was going to post a

Read more »

Maximize Your Expectations!

January 30, 2013
By
Maximize Your Expectations!

A Problem A major problem in secondary data analysis is that you didn't get to decide what data was collected. Lets say you were interested in how many times a student has read the Twilight books). Specifically, you want to know how effective the ads for...

Read more »

F1Stats – Visually Comparing Qualifying and Grid Positions with Race Classification

January 30, 2013
By
F1Stats – Visually Comparing Qualifying and Grid Positions with Race Classification

Following the roundabout tour of F1Stats – A Prequel to Getting Started With Rank Correlations, here’s a walk through of my attempt to replicate the first part of A Tale of Two

Read more »

Football geeks: your 10,705 field goals are ready

January 28, 2013
By
Football geeks: your 10,705 field goals are ready

We looked at NFL punts before on Decision Science News. That's old news. Field goals are the new hotness, and Super Bowl Sunday is coming up, so let's look at a kicker's chances. We've taken the same data set and looked at a kicker's chances of getting the ball through the uprights depending on the yard line the kick is...

Read more »

Getting Started with F1 Betting Data

January 28, 2013
By
Getting Started with F1 Betting Data

As part of my “learn about Formula One Stats” journey, one of the things I wanted to explore was how F1 betting odds change over the course of a race weekend, along with how well they predict race weekend outcomes. Courtesy of @flutterF1, I managed to get a peek of some betting data from one

Read more »

Evolution of a logistic regression

January 28, 2013
By
Evolution of a logistic regression

In my last post I showed how one can easily summarize the outcome of a logistic regression. Here I want to show how this really depends on the data-points that are used to estimate the model. Taking a cue from the evolution of a correlation I have plotted the estimated Odds Ratios (ORs) depending on

Read more »

European Fishing

January 27, 2013
By
European Fishing

I am playing around with Eurostat data and ggplot2 a bit more. As I progress it seems the plotting gets more easy, the data pre-processing a bit more simple and the surprises on the data stay.Eurostat dataThe data used are fish_fleet (number of ships) and fish_pr (production=catch+aquaculture). After a bit of year selection, 1992 and later, I decided to...

Read more »

A slightly different introduction to R, part II

January 27, 2013
By
A slightly different introduction to R, part II

In part I, we looked at importing data into R and simple ways to manipulate data frames. Once we’ve gotten our data safely into R, the first thing we want to do is probably to make some plots. Below, we’ll make some simple plots of the made-up comb gnome data. If you want to play

Read more »