4589 search results for "git"

R: Mapping Typhoon Labuyo (Utor) Track

October 14, 2013
By
R: Mapping Typhoon Labuyo (Utor) Track

Inspired by James Cheshire R maps, I tried mapping the track of Typhoon Labuyo (Utor) that by far the strongest one to hit Philippines this year. The data is available at Japan Meteorological Agency site, the 2013 - RSMC Best Track data. The code is av...

Read more »

Portable, personal packages

Portable, personal packages ProgrammingR had an interesting post recently about keeping a set of R functions that are used often as a gist on Github, and sourceing that file at the beginning of R analysis scripts. There is nothing inherently wrong with this, but it does end up cluttering the user workspace, and there is no...

Read more »

Interactive 3D in Shiny (shinyRGL)

October 13, 2013
By
shinyGL

The rgl package has been used to produce rich, interactive 3D graphics within R using the OpenGL framework for some time. The rgl authors also added the ability to export to WebGL, allowing R authors to produce interactive 3D graphics that were accessible from within any modern web browser. This functionality can now be leveraged

Read more »

UK House Prices vs. Household Incomes

October 13, 2013
By
UK House Prices vs. Household Incomes

There seems nothing the British press likes more than a good house price story. Both the OECD and 'The Economist' studies quoted in The Telegraph recently use the house price to household income ratio as a consideration of affordability and sustainabil...

Read more »

Batch Geocoding with R and Google maps

October 12, 2013
By
Batch Geocoding with R and Google maps

I’ve recently wanted to geocode a large number of addresses (think circa 60k) in Ireland as part of a visualisation of the Irish property market. Geocoding can be simply achieved in R using the geocode() function from the ggmap library. The geocode function uses Googles Geocoding API to turn addresses from text to latitude and

Read more »

Custom Legend in R

October 10, 2013
By
Custom Legend in R

This particular custom legend was designed with three purposes: To effectively bin values based on a theoretical minimum and maximum value for that variable (e.g. -1 and 1 or 0 and 100) To use a different interval notation than the default To handle NA values Even though this particular legend was designed with those needs, it should be simple to extrapolate from...

Read more »

Calculating AUC the hard way

October 10, 2013
By
Calculating AUC the hard way

The Area Under the Receiver Operator Curve is a commonly used metric of model performance in machine learning and many other binary classification/prediction problems. The idea is to generate a threshold independent measure of how well a model is able to distinguish between two possible outcomes. Threshold independent here just means that for any model

Read more »

RegEx: Named Capture in R (Round 2)

October 9, 2013
By

Previously, I came up with a solution to R's less than ideal handling of named capture in regular expressions with my re.capture() function. A little more than a year later, the problem is rearing its ugly - albeit subtly different - head again. I now...

Read more »

More Polarized

October 9, 2013
By
More Polarized

I have immersed myself in polar coordinates.  Here is another little reconstruction that I did.

Read more »

rCharts goes Polar

October 8, 2013
By
rCharts goes Polar

The new micropolar library from Chris Viau, author of   gives us reusable charts with polar coordinates for d3.js.  In testament to rCharts design, Ramnath Vaidyanathan integrated micropolar with rCharts in less than 30 minutes.  I don’t use polar coordinates much, so I wrote this quick little comparison of Cartesian and...

Read more »