Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ca693b8bd1eb5f2789da9233f56f5d25
mooc-rr
Commits
b8ed4df3
Commit
b8ed4df3
authored
Apr 15, 2024
by
Tommy Rushton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix figure; remove errant RESULTS block.
parent
f9be751b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
influenza-like-illness-analysis.org
module3/exo1/influenza-like-illness-analysis.org
+1
-3
No files found.
module3/exo1/influenza-like-illness-analysis.org
View file @
b8ed4df3
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment