Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2014 23:01
Show Gist options
  • Save anonymous/9945080 to your computer and use it in GitHub Desktop.
Save anonymous/9945080 to your computer and use it in GitHub Desktop.
rnorm(15)
x <- rnorm(15)
y <- rnorm(15)
plot(x, y)
# y
height <- c(1.75, 1.8, 1.65, 1.90, 1.74, 1.91)
weight <- c(60, 72, 57, 90, 95, 72)
plot(height, weight)
(bmi = weight / height^2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment