Commit b8ed4df3 authored by Tommy Rushton's avatar Tommy Rushton

Fix figure; remove errant RESULTS block.

parent f9be751b
...@@ -77,8 +77,6 @@ if not os.path.exists(data_file): ...@@ -77,8 +77,6 @@ if not os.path.exists(data_file):
urllib.request.urlretrieve(data_url, data_file) urllib.request.urlretrieve(data_url, data_file)
#+END_SRC #+END_SRC
#+RESULTS:
We start processing by extracting the part we are interested in. We We start processing by extracting the part we are interested in. We
first split the flie into lines, of which we discard the first one first split the flie into lines, of which we discard the first one
that contains a comment. We then split the remaining lines into columns. that contains a comment. We then split the remaining lines into columns.
...@@ -181,7 +179,7 @@ summary(data) ...@@ -181,7 +179,7 @@ summary(data)
** Inspection ** Inspection
Finally we can look at a plot of our data! Finally we can look at a plot of our data!
#+BEGIN_SRC R :results file graphics :file inc-plot.png #+BEGIN_SRC R :results file graphics :file inc-plot.png :exports both
plot(data, type="l", xlab="Date", ylab="Weekly incidence") plot(data, type="l", xlab="Date", ylab="Weekly incidence")
#+END_SRC #+END_SRC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment