Skip to content

Commit

Permalink
update for 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
alexd106 committed Nov 16, 2023
1 parent 9bf50a5 commit 2e20387
Show file tree
Hide file tree
Showing 56 changed files with 1,633 additions and 1,619 deletions.
2 changes: 1 addition & 1 deletion FAQ.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>FAQ</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion Github_intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Version control with Git and GitHub</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion People.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ knitr::include_graphics("images/alex.png")

\

Alex is a Reader in Biostatistics at the University of Aberdeen and has been teaching (and learning) R for the last 17 years.
Alex is a Professor of Biostatistics at the University of Aberdeen and has been teaching (and learning) R since version 2.1.

- Email: a(dot)douglas(at)abdn(dot)ac(dot)uk
- Web: https://www.abdn.ac.uk/people/a.douglas/
Expand Down
6 changes: 3 additions & 3 deletions People.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>People</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down Expand Up @@ -451,8 +451,8 @@ <h4>Alex Douglas</h4>
<p><img src="images/alex.png" width="200px" style="padding:30px;" /></p>
</div>
<p> </p>
<p>Alex is a Reader in Biostatistics at the University of Aberdeen and
has been teaching (and learning) R for the last 17 years.</p>
<p>Alex is a Professor of Biostatistics at the University of Aberdeen
and has been teaching (and learning) R since version 2.1.</p>
<ul>
<li>Email: a(dot)douglas(at)abdn(dot)ac(dot)uk</li>
<li>Web: <a href="https://www.abdn.ac.uk/people/a.douglas/"
Expand Down
96 changes: 48 additions & 48 deletions Rmarkdown_ex1.html

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions Rmarkdown_ex2.html

Large diffs are not rendered by default.

222 changes: 111 additions & 111 deletions Rmarkdown_intro.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tutorials.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Tutorials</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion course_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Offline exercise solutions</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion data.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Data</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down
2 changes: 1 addition & 1 deletion exercise_1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Read [Chapter 1](https://intro2r.com/chap1.html) to help you complete the questi

\

14\. Let's finish up by creating some additional useful directories in your Project directory. If you've followed the **Data <i class="fa fa-download" aria-hidden="true"></i>** instructions when downloading datasets for this course you will already have a directory called `data` in your Project (if you didn't then take a look at the instructions under **Data <i class="fa fa-download" aria-hidden="true"></i>** to create this directory). Now let's create another directory called `output` where you'll save data files and plots you generate later on during this course. This time, instead of clicking on the 'New Folder' icon in RStudio we'll create a new directory using R code directly in the R console (you can also interact with your computer's operating system in all sorts of useful ways). To do this use the `dir.create()` function to create a directory called `output` (See [Section 1.8](https://intro2r.com/dir-struct.html) of the Introduction to R book for more details). If you fancy it, you can also create a subdirectory in your `output` directory called `figures` to store all your fancy R plots for your thesis. You can list all the files in your directories using the `list.files()` function. Can you figure out how to list the directories as well? (hint: see `?listfiles` or [Section 1.8](https://intro2r.com/dir-struct.html) of the course book).
14\. Let's finish up by creating some additional useful directories in your Project directory. If you've followed the **Data <i class="fa fa-download" aria-hidden="true"></i>** instructions when downloading datasets for this course you will already have a directory called `data` in your Project (if you didn't then take a look at the instructions under **Data <i class="fa fa-download" aria-hidden="true"></i>** to create this directory). Now let's create another directory called `output` where you'll save data files and plots you generate later on during this course. This time, instead of clicking on the 'New Folder' icon in RStudio we'll create a new directory using R code directly in the R console (you can also interact with your computer's operating system in all sorts of useful ways). To do this use the `dir.create()` function to create a directory called `output` (See [Section 1.8](https://intro2r.com/dir-struct.html) of the Introduction to R book for more details). If you fancy it, you can also create a subdirectory in your `output` directory called `figures` to store all your fancy R plots for your thesis. You can list all the files in your directories using the `list.files()` function. Can you figure out how to list the directories as well? (hint: see `?list.files` or [Section 1.8](https://intro2r.com/dir-struct.html) of the course book).

\

Expand Down
4 changes: 2 additions & 2 deletions exercise_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Exercises</title>

<script src="site_libs/header-attrs-2.17/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/flatly.min.css" rel="stylesheet" />
Expand Down Expand Up @@ -612,7 +612,7 @@ <h2>Exercise 1 : Getting to know R and RStudio</h2>
<code>figures</code> to store all your fancy R plots for your thesis.
You can list all the files in your directories using the
<code>list.files()</code> function. Can you figure out how to list the
directories as well? (hint: see <code>?listfiles</code> or <a
directories as well? (hint: see <code>?list.files</code> or <a
href="https://intro2r.com/dir-struct.html">Section 1.8</a> of the course
book).</p>
<p> </p>
Expand Down
2 changes: 1 addition & 1 deletion exercise_1_solution.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ getwd() # displays the current working directory
```
\

14\. Let's finish up by creating some additional useful directories in your Project directory. If you've followed the **Data <i class="fa fa-download" aria-hidden="true"></i>** instructions when downloading datasets for this course you will already have a directory called `data` in your Project (if you didn't then take a look at the instructions under **Data <i class="fa fa-download" aria-hidden="true"></i>** to create this directory). Now let's create another directory called `output` where you'll save data files and plots you generate later on during this course. This time, instead of clicking on the 'New Folder' icon in RStudio we'll create a new directory using R code directly in the R console (you can also interact with your computer's operating system in all sorts of useful ways). To do this use the `dir.create()` function to create a directory called `output` (See [Section 1.8](https://intro2r.com/dir-struct.html) of the Introduction to R book for more details). If you fancy it, you can also create a subdirectory in your `output` directory called `figures` to store all your fancy R plots for your thesis. You can list all the files in your directories using the `list.files()` function. Can you figure out how to list the directories as well? (hint: see `?listfiles` or [Section 1.8](https://intro2r.com/dir-struct.html) of the course book).
14\. Let's finish up by creating some additional useful directories in your Project directory. If you've followed the **Data <i class="fa fa-download" aria-hidden="true"></i>** instructions when downloading datasets for this course you will already have a directory called `data` in your Project (if you didn't then take a look at the instructions under **Data <i class="fa fa-download" aria-hidden="true"></i>** to create this directory). Now let's create another directory called `output` where you'll save data files and plots you generate later on during this course. This time, instead of clicking on the 'New Folder' icon in RStudio we'll create a new directory using R code directly in the R console (you can also interact with your computer's operating system in all sorts of useful ways). To do this use the `dir.create()` function to create a directory called `output` (See [Section 1.8](https://intro2r.com/dir-struct.html) of the Introduction to R book for more details). If you fancy it, you can also create a subdirectory in your `output` directory called `figures` to store all your fancy R plots for your thesis. You can list all the files in your directories using the `list.files()` function. Can you figure out how to list the directories as well? (hint: see `?list.files` or [Section 1.8](https://intro2r.com/dir-struct.html) of the course book).

```{r Q14}
dir.create(path = 'data')
Expand Down
Loading

0 comments on commit 2e20387

Please sign in to comment.