1630 search results for "ggplot2"

R and Google Visualization API: Fish harvests

January 17, 2011
By
R and Google Visualization API: Fish harvests

I recently gathered fish harvest data from the U.S. National Oceanic and Atmospheric Administarion (NOAA), which I downloaded from Infochimps. The data is fish harvest by weight and value, by species for 21 years, from 1985 to 2005. Here is a link to a google document of the data I used below: https://spreadsheets.google.com/ccc?key=0Aq6aW8n11tS_dFRySXQzYkppLXFaU2F5aC04d19ZS0E&hl=en################# Fish harvest data...

Read more »

In case you missed it: December Roundup

January 17, 2011
By

In case you missed them, here are some articles from December of particular interest to R users. A Facebook employee created a beautiful visualization of social connections around the world, which made a lot of news on the Web. The creator, Paul Butler, explained how he did it using R. With sponsorship from Revolution Analytics, the R/Finance conference in...

Read more »

Parsing and plotting time series data

January 15, 2011
By
Parsing and plotting time series data

This morning I came across a post which discusses the differences between scala, ruby and python when trying to analyse time series data. Essentially, there is a text file consisting of times in the format HH:MM and we want to get an idea of its distribution. Tom discusses how this would be a bit clunky

Read more »

Survival paper (update)

January 13, 2011
By
Survival paper (update)

In a recent post, I discussed some  statistical consultancy I was involved with. I was quite proud of the nice ggplot2 graphics I had created. The graphs nicely summarised the main points of the paper: I’ve just had the proofs from the journal, and next to the graphs there is the following note: It is

Read more »

gnmplot

January 13, 2011
By
gnmplot

I'm writing a new package that will create nice publication quality graphics of genome information. It's really an adaptor sitting between the biomaRt and ggplot2 packages. Here is the code so far:## this function integrates 3 steps to creating a g...

Read more »

prettyR

January 13, 2011
By

I have just remembered a package called 'prettyR' that pretty much does what it says. It makes R code more readable.. so an example from my forthcoming genomeplot package (see forthcoming blog entry): ## this function integrates 3 steps to creat...

Read more »

Introducing the Lowry Plot

January 11, 2011
By
Introducing the Lowry Plot

Here at the Health and Safety Laboratory* we’re big fans of physiologically-based pharmacokinetic (PBPK) models (say that 10 times fast) for predicting concentrations of chemicals around your body based upon an exposure. These models take the form of a big system of ODEs. Because they contain many equations and consequently many parameters (masses of organs

Read more »

just for fun: Recovery.gov data snooping

January 11, 2011
By
just for fun: Recovery.gov data snooping

Okay, so this isn't ecology related at all, but I like exploring data sets. So here goes...Propublica has some awesome data sets available at their website: http://www.propublica.org/tools/I played around with their data set on Recovery.gov (see hyperl...

Read more »

Seasonal pair trading

January 10, 2011
By
Seasonal pair trading

quanttrader.info is a good quantitative repository, where I found an idea about seasonal spreads play. The idea of seasonal pair trading differs from pairs trading in a way, that it doesn’t try to find deviation from the spread’s mean, but it looks at seasonal spread patterns. In some cases it is easier to find an

Read more »

My first R package: zipcode

January 5, 2011
By
My first R package: zipcode

My first package, zipcode, is now available on CRAN. It contains the CivicSpace database of 43,191 U.S. zip codes.

Read more »