2148 search results for "Map"

"Inside" Functors — Evaluating things more than once

May 1, 2011
By
"Inside" Functors — Evaluating things more than once

(The examples here work with the version of insidefunctor tagged as "v1") I ran into an interesting problem using "inside" functors. Something is wrong in the following code (well, depending on what you thought it should do). > library(insidefunctor) > `%+.%` = fmap(`+`) > x = seq(0, 10, len = 50) > plot(x,...

Read more »

Here comes the sun

Here comes the sun

The solar irradiance incident outside the earth’s atmosphere is called the extraterrestial or extra-atmospheric irradiance. It is derived from the solar constant only with geometric equations. It can be easily calculated with the calcSol function of the solaR package. With this post I will show an example with some packages from the Spatial task view.

Read more »

Schelling’s Neighborhood Model

April 30, 2011
By
Schelling’s Neighborhood Model

The New York Times has created a beautiful visualization of the Census Bureau's 2005-2009 American Community Survey data. The distribution of racial and ethnic groups in New York City is particularly fascinating:Chinatown appears in red toward the sou...

Read more »

A Tiny Model of Evolution

April 25, 2011
By
A Tiny Model of Evolution

I've always wanted to write a(n overly) simple model of evolution. The assumptions are minimalistic: only one species, for which each individual's genotype is represented as a one-dimensional real number, e.g. 7.4. Now, the fun stuff: I define a fu...

Read more »

Let’s try this again: Introducing Rook for #rstats!

April 25, 2011
By

Well I totally botched my launch last week. Thankfully, my wife straightened me out: I decided to change the name of Rack to Rook so there won’t be any future confusion. And instead of rewriting all my posts last week, just read them again and every...

Read more »

Further Adventures in Visualisation with ggplot2

April 25, 2011
By
Further Adventures in Visualisation with ggplot2

So I previously took a look at some data of player performance from a computer game. In this post, I’m going to do some further visualisations using ggplot2. The data consists of different types of player character, different roles for those characters, and their overall damage output (the unit here is damage per second, or

Read more »

Chop, Slice and Dice Your Returns in R

April 24, 2011
By
Chop, Slice and Dice Your Returns in R

I have a knife rack on my kitchen wall with all my kitchen knives easily identifiable and accessible. I also have small scars on my hand where each knife can claim to have left a mark. It's not the knife's fault, of course. They hardly like being sudde...

Read more »

Location Tracking on Android, too!

April 23, 2011
By
Location Tracking on Android, too!

This week it was revealed that the iPhone stores users’ locations, and this immediately caused a huge firestorm of commentary by tech geeks, panic among privacy advocates, and delight to data geeks like myself. Even better/worse, it seems that the iPhone caches location traces long-term, possibly back to the date the phone was activated. I ditched my iPhone this past...

Read more »

How to load your iPhone location data into R

April 22, 2011
By
How to load your iPhone location data into R

Earlier this week, data scientists Pete Warden and Alasdair Allen reported that iPhones and cell-enabled iPads keep an internal log of the devices location, which is accessible from the backup that iTunes creates when you sync the device. (Update Apr 27: Apple responds that the locations are those of nearby cell towers and wi-fi hotspots, not the device itself.)...

Read more »

Big data problems

April 22, 2011
By
Big data problems

I have big data problems.I need to analyze 100s of millions of rows of data and tried hard for 2 weeks to see if I can use R for this. My assessment so far from the experiments...1) R is best for data that fits a computer's RAM (so get more RAM if...

Read more »