Blog Archives

Good riddance to Excel pivot tables

January 30, 2011
By
Good riddance to Excel pivot tables

Excel pivot tables have been how I have reorganized data...up until now. These are just a couple of examples why R is superior to Excel for reorganizing data:################ Good riddance to pivot tables ############library(reshape2)library(plyr)&nbsp...

Read more »

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 »

R and Google Visualization API: Wikispeedia

January 17, 2011
By
R and Google Visualization API: Wikispeedia

Wikispeedia is a website trying to gather all speed limit signs on Earth.  I recently created a Google Visualization for some of their data, specifically on speed limit signs that change speed throughout the day.Check it out here: http://grou...

Read more »

Bipartite networks and R

January 14, 2011
By
Bipartite networks and R

Earlier, I posted about generating networks from abundance distributions that you specify. If this post was interesting, check out Jeff Kilpatrick's website, where he provides code he produced in R and Octave to compare real bipartite networks to ones ...

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 »

R and Google Visualization API

January 8, 2011
By
R and Google Visualization API

R interfaces with the powerful Google Visualization API with the package googleVis (see here). It's relatively easy to convert your graphics in R to interactive graphics to post on a web browser. And the graphics are quite nice, as seen below in a simple graph of some of my data collected from this summer on seed predation to...

Read more »

Ecological networks from abundance distributions

January 6, 2011
By
Ecological networks from abundance distributions

Another grad student and I tried recently to make a contribution to our understanding of the relationship between ecological network structure (e.g., nestedness) and community structure (e.g., evenness)......Alas, I had no luck making new insights. How...

Read more »

R-bloggers

January 5, 2011
By
R-bloggers

Just a quick FYI note in case you haven't seen this site.R-bloggers is an awesome site, bringing together more than 140 blogs (including mine) about R in a single location. See Tal Galili's motivation for creating the site, and his notes on the site here.

Read more »

New approach to analysis of phylogenetic community structure

January 5, 2011
By
New approach to analysis of phylogenetic community structure

Anthony Ives, of University of Wisconsin-Madison, and Matthew Helmus of the Xishuangbanna Tropical Botanical Garden, present a new statistical method for analyzing phylogenetic community structure in an early view paper in Ecological Monographs. See th...

Read more »

Phylogenetic meta-analysis in R using Phylometa

December 28, 2010
By
Phylogenetic meta-analysis in R using Phylometa

Here is some code to run Phylometa from R. Phylometa is a program that conducts phylogenetic meta-analyses. The great advantage of the approach below is that you can easily run Phylometa from R, and manipulate the output from Phylometa in R. Phylometa ...

Read more »