2214 search results for "Map"

ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R” (Part 12)

August 18, 2009
By
ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R” (Part 12)

This is the 12th post in a series attempting to recreate the figures in Lattice: Multivariate Data Visualization with R (R code available here) with ggplot2. Previous parts in this series: Part 1, Part 2, Part 3, Part 4, Part 5, Part 6, Part 7, Part 8, Part 9, Part 10, Part 11. Chapter 13 – Advanced

Read more »

David Varadi’s RSI(2) alternative

July 19, 2009
By
David Varadi’s RSI(2) alternative

Here's a quick R implementation of David Varadi's alternative to the RSI(2).  Michael Stokes over at the MarketSci blog has three great posts exploring this indicator: Varadi’s RSI(2) Alternative: The DV(2) RSI(2) vs. DV(2) Last Couple...

Read more »

Sometimes, you just need to use a plyr

July 10, 2009
By
Sometimes, you just need to use a plyr

I haven’t posted anything about R-nerdery in quite some time. But I have to pause for a moment, and sing the praises of a relatively new package that has made my life exponentially easier. The plyr package. R has the capability to apply a single function to a vector or list using apply or mapply,

Read more »

RSI(2) Evaluation

June 28, 2009
By
RSI(2) Evaluation

Despite my best efforts, it's been a month since the last post of this series. The first post replicated this simple RSI(2) strategy from the MarketSci Blog using R. The second post showed how to replicate the strategy that scales in/out of RSI(2). ...

Read more »

open-source campaign finance analysis with R and MySQL

June 18, 2009
By
open-source campaign finance analysis with R and MySQL

Introduction In Part 1 of this tutorial we introduced the fechell library by extracting all itemized contributions from individuals made to the Obama For America campaign in 2007 and 2008. In Part 2 of the tutorial we will summarize that data set by importing it into a MySQL database and aggregating contributions by week and

Read more »

Geography and Data

June 15, 2009
By

The Economist recently ran a fascinating article about the emergence of geographical databases and their uses for presenting and analyzing data.All this has made it much easier to create maps that explain—at a glance—something that might otherwise require pages of tables or verbiage. “A percentage or a table is still abstract for people,” says Dan Newman of MAPLight.org,...

Read more »

Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

June 10, 2009
By
Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

ag cloud is a bunch of words drawn in a graph with their sizes proportional to their frequency; it’s widely used in blogs to visualize tags. We can observe important words quickly from a tag cloud, as they often appear in large fontsize. Tony N. Brown asked how to “graphically represent frequency of words in

Read more »

Data Mashups in R from O’Reilly

June 9, 2009
By
Data Mashups in R from O’Reilly

O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information...

Read more »

Data Mashups in R from O’Reilly

June 9, 2009
By
Data Mashups in R from O’Reilly

O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information...

Read more »

Accessing Soil Survey Data via Web-Services

May 28, 2009
By
Accessing Soil Survey Data via Web-Services

Soil Survey Data   Online Querying of NRCS Soil Survey Data Sometimes you are only interested in soils data for a single map unit, component, or horizon. In these cases downloading the entire survey from Soil Data Mart is not worth the effort. An...

Read more »