Skip to content

Instantly share code, notes, and snippets.

@alaiacano
Created October 9, 2011 16:48
Show Gist options
  • Save alaiacano/1273903 to your computer and use it in GitHub Desktop.
Save alaiacano/1273903 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment