Skip to content

Instantly share code, notes, and snippets.

View alaiacano's full-sized avatar

Adam Laiacano alaiacano

  • Spotify
  • New Rochelle, NY
View GitHub Profile
@alaiacano
alaiacano / gist:1273903
Created October 9, 2011 16:48
sample plot
labels <- c(
rep("a", 100*rexp(1)),
rep("b", 100*rexp(1)),
rep("c", 100*rexp(1)),
rep("d", 100*rexp(1)))
x <- data.frame(labels = factor(labels), some.value = runif(length(labels)))
qplot(labels, data=x)