Skip to content

Instantly share code, notes, and snippets.

@CerebralMastication
Created August 29, 2010 13:22
Show Gist options
  • Save CerebralMastication/556278 to your computer and use it in GitHub Desktop.
Save CerebralMastication/556278 to your computer and use it in GitHub Desktop.
# looking at some data with @neilkod
myData <- read.csv("http://www.neilkodner.com/10kreads.csv")
plot(density(myData$X1))
#holy shit that's a big spike at the low values. Let's look at the tail
plot(density(subset(myData, X1 > 3)$X1))
plot(density(subset(myData, X1 > 5)$X1))
plot(density(subset(myData, X1 > 10)$X1))
plot(density(subset(myData, X1 > 20)$X1))
#fractal scaling is fun! ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment