2702 search results for "gis"

Dot-density maps with spsample()

December 7, 2012
By
Dot-density maps with spsample()

Today’s example is a little odd, in that the code isn’t pretty and the example isn’t really something you’d actually produce in real life — but if you’ll overlook those oddities, you’ll find that the spsample(...

Read more »

Visualizing Baltimore with R and ggplot2: Crime Data

December 7, 2012
By
Visualizing Baltimore with R and ggplot2: Crime Data

The advent of municipal open data initiatives has been both a blessing and curse for my particular brand of data nerd. On one hand, it has opened up the possibility of developing deep and useful knowledge about the places we...

Read more »

R in the Cloud

December 6, 2012
By
R in the Cloud

I've been having some great fun parallelizing R code on Amazon's cloud. Now that things are chugging away nicely, it's time to document my foibles so I can remember not to fall into the same pits of despair again. The goal was to perform lots of trails of a randomized statistical simulation. The jobs were independent and fairly chunky, taking...

Read more »

Flexibly outlining a set of points with alphahull

December 6, 2012
By
Flexibly outlining a set of points with alphahull

We’ve previously covered the convex hull here at is.R(), and in that post I admitted that I was somewhat hard-pressed to come up with a common use-case — at least for Political Science applications. Well, today’s Gist illustrates the...

Read more »

One R package for all your taxonomic needs

December 6, 2012
By

UPDATE: there were some errors in the tests for taxize, so the binaries aren't avaiable yet. You can install from source though, see below. Getting taxonomic information for the set of species you are studying can be a pain in the ass. You have to manually type, or paste in, your species one-by-one. Or, if you are lucky, there is...

Read more »

One R package for all your taxonomic needs

December 6, 2012
By

UPDATE: there were some errors in the tests for taxize, so the binaries aren't avaiable yet. You can install from source though, see below. Getting taxonomic information for the set of species you are studying can be a pain in the ass. You have to manually type, or paste in, your species one-by-one. Or, if you are lucky, there is...

Read more »

How a Mexican state ended up with more drug war homicides than total homicides

December 5, 2012
By
How a Mexican state ended up with more drug war homicides than total homicides

During 2007 and 2008 the Mexican state of Sinaloa had more drug war-related homicides than total homicides. This should in theory be impossible since drug war homicides are a subset of total homicides. How did this happen? Here is a chart from my old post highlighting the monthly difference between the...

Read more »

TFX Package

December 5, 2012
By
TFX Package

Today I want to highlight the TFX Package created by Garrett See. TFX is an R Interface to the TrueFX(tm) Web API for free streaming real-time and historical tick-by-tick market data for dealable interbank foreign exchange rates with millisecond detail. Garrett provided a great tutorial, examples, and shiny application of TFX at http://rpubs.com/gsee/TFX Please note

Read more »

Loading Big files in R

December 5, 2012
By
Loading Big files in R

Far as I remember, today was the first day in my life I succeed to load a text file bigger than 1.5 Gb into R (~ 5 million lines and 18 columns). My computer is not a small stuff, I’m using a Macbook Pro with rough 8GB of RAM, but the issue why I couldn’t

Read more »

Apple Compared to Others with ggthemes

December 5, 2012
By
Apple Compared to Others with ggthemes

For a happy person delightfully concentrated in Apple, I wanted to show Apple’s performance versus Microsoft and Cisco in decades 1(1990-2000) and 2 (2000-2012).  I thought this would give me a good chance to try out the very interesting work be...

Read more »