Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial import

  • Loading branch information...
commit 66ac31ffb4f23edea97cba7825e537dc6a919f4b 1 parent 9c57699
@tavisrudd authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 unemployment.R
View
9 unemployment.R
@@ -0,0 +1,9 @@
+# http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/
+library(ggplot2)
+unemployment <- read.csv("http://datasets.flowingdata.com/unemployment-rate-1948-2010.csv",
+ sep=",")
+
+p1 <- (ggplot(unemployment, aes(x=1:length(Value), y=Value))
+ + geom_point()
+ + geom_smooth())
+print(p1)
Please sign in to comment.
Something went wrong with that request. Please try again.