Skip to content

Instantly share code, notes, and snippets.

@bharatbhole
Created February 4, 2012 03:28
Show Gist options
  • Save bharatbhole/1734947 to your computer and use it in GitHub Desktop.
Save bharatbhole/1734947 to your computer and use it in GitHub Desktop.
load ggplot2 and create data
# load ggplot2 library
require(ggplot2)
# create data
normalVariate <- rnorm(50, 100, 10)
xvalues <- c(1:50)
df <- data.frame(xcol=xvalues, ycol=normalVariate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment