From b8ed4df36b6f6788376093765f4daf794d3143d2 Mon Sep 17 00:00:00 2001 From: Tommy Rushton Date: Mon, 15 Apr 2024 17:38:14 +0200 Subject: [PATCH] Fix figure; remove errant RESULTS block. --- module3/exo1/influenza-like-illness-analysis.org | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module3/exo1/influenza-like-illness-analysis.org b/module3/exo1/influenza-like-illness-analysis.org index c5ddb78..e23327f 100644 --- a/module3/exo1/influenza-like-illness-analysis.org +++ b/module3/exo1/influenza-like-illness-analysis.org @@ -77,8 +77,6 @@ if not os.path.exists(data_file): urllib.request.urlretrieve(data_url, data_file) #+END_SRC -#+RESULTS: - 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 that contains a comment. We then split the remaining lines into columns. @@ -181,7 +179,7 @@ summary(data) ** Inspection 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") #+END_SRC -- 2.18.1