document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-96897\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"># Read in the data without any processing<\/div><div class=\"line\" id=\"LC2\">data &lt;- read.table(&#39;http://www.dartmouth.edu/~chance/teaching_aids/data/birthday.txt&#39;,as.is=1)<\/div><div class=\"line\" id=\"LC3\">data[,1] &lt;- as.Date(data[,1],format=&#39;%m/%d/%y&#39;)<\/div><div class=\"line\" id=\"LC4\">plot(data,xlab=&#39;Date&#39;,ylab=&#39;Live Births&#39;,main=&#39;Live Births by Date&#39;)<\/div><div class=\"line\" id=\"LC5\"># save the plot<\/div><div class=\"line\" id=\"LC6\">png(&#39;dob-distribution.png&#39;,width=700)<\/div><div class=\"line\" id=\"LC7\">plot(data,xlab=&#39;Date&#39;,ylab=&#39;Live Births&#39;,main=&#39;Live Births by Date&#39;)<\/div><div class=\"line\" id=\"LC8\">dev.off() # write it<\/div><\/pre><\/div>\n          \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/96897/65dbca5ec56236efc4e73665e8de849618477d4e/gistfile1.txt\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/96897#file_gistfile1.txt\" style=\"float:right;margin-right:10px;color:#666\">gistfile1.txt<\/a>\n          <a href=\"http://gist.github.com/96897\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
