2008 search results for "map"

R-NOLD 2012-06-06 03:18:00

June 6, 2012
By
R-NOLD 2012-06-06 03:18:00

While traveling across the Visayas, I encountered barangay (villages) with the name same as my last name. Using R and map data from gadm.org I search and mapped other villages in the country named “Salvacion”.

Read more »

Book Review: Parallel R

June 5, 2012
By
Book Review: Parallel R

You have a problem: R is single-threaded, but your code would be faster if it could simultaneously run on more than one core.  You have access to a cluster and/or your computer has multiple cores.  Parallel R, by Q. Ethan McCallum and Stephen...

Read more »

intersect for multiple vectors in R

June 5, 2012
By

Say you havea <- c(1,3,5,7,9)b <- c(3,6,8,9,10)c <- c(2,3,4,5,7,9)A straightforward way to do the job is:intersect(intersect(a,b),c)More cleverly, and more conveniently if you have a lot of arguments:Reduce(intersect, list(a,b,c))The Reduce fu...

Read more »

Applications of R in Government

June 4, 2012
By

Following the announcement of the US Government Big Data Initiative, I was asked to write a small article about applications of R in government. The article has just appeared in Government Security News (and I believe will appear in their daily newsletter tomorrow). In the article, I highlighted several R applications that been highlighted here in the blog: In...

Read more »

11 Million Yellow Slips – City of Toronto Parking Tickets, 2008-2011

June 2, 2012
By
11 Million Yellow Slips – City of Toronto Parking Tickets, 2008-2011

IntroductionI don't know about you, but I really hate getting parking tickets. Sometimes I feel like it's all just a giant cash grab. Really? I can't park there between the hours of 11 and 3, but every other time is okay? Well, why the hell not?Bu...

Read more »

Selection in R

June 1, 2012
By

The design of the statistical programming language R sits in a slightly uncomfortable place between the functional programming and object oriented paradigms. The upside is you get a lot of the expressive power of both programming paradigms. A downside of this is: the not always useful variability of the language’s list and object extraction operators. Related posts:

Read more »

Conditional Drawdown Exploration

May 31, 2012
By
Conditional Drawdown Exploration

After reading Strub, Issam S., Trade Sizing Techniques for Drawdown and Tail Risk Control (May 21, 2012), I thought I should try to tie this with 2 other good R pieces on Conditional Drawdown: http://systematicinvestor.wordpress.com/2011/11/01/minimiz...

Read more »

New Data Science Packages Coming To Computational Journalism Server

May 30, 2012
By

I’ve just received an announcement from Michael Lang that packages BatchJobs and BatchExperiments have been added to the Comprehensive R Archive Network (CRAN). From the announcement: The package BatchJobs implements the basic objects and procedu...

Read more »

Review: “Forest Analytics with R: an introduction”

May 29, 2012
By
Review: “Forest Analytics with R: an introduction”

Forestry is the province of variability. From a spatial point of view this variability ranges from within-tree variation (e.g. modeling wood properties) to billions of trees growing in millions of hectares (e.g. forest inventory). From a temporal point of view … Continue reading →

Read more »

Choosing colour palettes. Part I: Introduction

May 29, 2012
By
Choosing colour palettes. Part I: Introduction

In this series of three posts, we’ll look at colours in R graphics produced with ggplot2: what are the available choices of colour schemes, and how to choose a colour palette most suitable for a particular graphic?In kindergarten, choosing a co...

Read more »