1832 search results for "ggplot"

What the frack? Does hydraulic fracturing lead to increased earthquakes?

November 8, 2011
By
What the frack?  Does hydraulic fracturing lead to increased earthquakes?

Earthquakes are normal occurrences along the boundaries of major plate margins, such as along the San Andreas fault system of California,  and are less common within plate interiors.  Try telling that, however, to the citizens of Oklahoma who...

Read more »

Blankety Blank

November 8, 2011
By
Blankety Blank

The erstwhile big 4 all blanked their opponents last Saturday and a poster on the Guardian wondered when was the previous occasion of such an occurrence. It’s a pretty simple procedure in SQL using a subquery, but in the spirit of learning R, I thought I would tackle the problem in that language, with the

Read more »

Code Optimization: One R Problem, Eleven Solutions – Now Thirteen!

November 7, 2011
By
Code Optimization: One R Problem, Eleven Solutions – Now Thirteen!

Following up from my previous post “Code Optimisation: One R Problem, Ten Solutions – Now Eleven!” I figured out a twelfth solution after writing that blog post. Furthermore, half way through writing this blog post I figured out a thirteenth solution too. As a recap, the problem is taken from rwiki where the goal is to find

Read more »

Kaplan-Meier Survival Plot – with at risk table

November 5, 2011
By
Kaplan-Meier Survival Plot – with at risk table

Credit for the bulk of this code is to Abhijit Dasgupta and the commenters on the original post here from earlier this year. I have made a few changes to the functionality of this which I think warrant sharing. A brief … Continue reading →

Read more »

Data Referenced Journalism and the Media – Still a Long Way to Go Yet?

November 4, 2011
By
Data Referenced Journalism and the Media – Still a Long Way to Go Yet?

Reading our local weekly press this evening (the Isle of Wight County Press), I noticed a page 5 headline declaring “Alarm over death rates at St Mary’s”, St Mary’s being the local general hospital. It seems a Department of Health report on hospital mortality rates came out earlier this week, and the Island’s hospital, it

Read more »

Code Optimization: One R Problem, Ten Solutions – Now Eleven!

November 2, 2011
By
Code Optimization: One R Problem, Ten Solutions – Now Eleven!

Earlier this year I came across a rather interesting page about optimisation in R from rwiki. The goal was to find the most efficient code to produce strings which follow the pattern below given a single integer input n: From this we can see that the general pattern for n is: It is rather heart

Read more »

Use case: combining taxize and rgbif

November 1, 2011
By
Use case: combining taxize and rgbif

Sure thing….this is just the sort of thing for which rOpenSci is being built. A colleague of mine recently saw our packages in development and thought, “Hey, that could totally make my life easier.”   What was made easier you ask?   This was his situation: He had a list of ca. 1200 species of

Read more »

Code Optimization: One R Problem, Ten Solutions – Now Eleven!

November 1, 2011
By
Code Optimization: One R Problem, Ten Solutions – Now Eleven!

Earlier this year I came across a rather interesting page about optimisation in R from rwiki. The goal was to find the most efficient code to produce strings which follow the pattern below given a single integer input n: From this we can see that the general pattern for n is: It is rather heart

Read more »

Halloween 2011 count

October 31, 2011
By
Halloween 2011 count

We don’t get many kids seeking candy at our house. I’m not sure if there just aren’t many kids in the neighborhood, or if it’s our location (next to the pond, with a big gap before the next house). I decided to keep track. As usual, we bought a huge bag of candy, and we

Read more »

Japan Quake Map

October 31, 2011
By
Japan Quake Map

Japan Quake Map with R, ggplot2, and FFmpeg   1 Introduction As a follow-up to ‘Analysis of Japanes

Read more »