-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
110 lines (81 loc) · 4.56 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
title: "R Module 3"
author:
- "Connor Gibbs^[Department of Statistics, Colorado State University, [email protected]]"
date: "`r format(Sys.time(), '%d %h, %Y, %I:%M %p')`"
description: This is the book for the R Intro Course at CSU.
link-citations: yes
bibliography:
- src/book.bib
site: bookdown::bookdown_site
biblio-style: apalike
---
# Welcome!
```{r, knitr_options, echo=FALSE, results='hide', message=FALSE}
# fig.align="center" centers figures
# comment=NA remove "##" from R output
# results="hold" don't interleave chunk code and output, but hold all output until end of chunk.
# class.source="chunk-style" Use the CSS style "chunk-style" to style code chunks
# class.output="output-style" Use the CSS style "output-style" to style output of code chunks
knitr::opts_chunk$set(fig.align="center", comment=NA, results="hold", class.source="chunk-style", class.output="output-style")
knitr::knit_hooks$set(
error = function(x, options){
paste0('\n<pre class="sourceCode r error-style"><code>', x, '</code></pre>')
}
)
# A recent change in RMarkdown required this change.
library(kableExtra)
library(lubridate)
start_date <- ymd("2020/07/13")
# designed as a four week course that "meets" 3 times per week.
course_dates <- start_date + sort(as.vector(outer(c(0, 2, 4), c(0, 7, 14, 21), "+")))
r_version <- "4.0.2"
```
Hi, and welcome to the R Module 3 course at Colorado State University!
This course is the third of three 1 credit courses intended to introduce the R programming language, specifically R Markdown.
Through this Module (course), we'll explore how R can be used to do the following:
1. Create reproducible reports so you can explain your work in a narrative form
2. Track, accept, and revert changes through version control
3. Share code and collaborate with others
In addition, you'll also be exposed to broader concepts, including:
1.
1.
1.
1.
### How To Navigate This Book
To move quickly to different portions of the book, click on the appropriate chapter or section in the the table of contents on the left.
The buttons at the top of the page allow you to show/hide the table of contents, search the book, change font settings, download a pdf or ebook copy of this book, or get hints on various sections of the book.
The faint left and right arrows at the sides of each page (or bottom of the page if it's narrow enough) allow you to step to the next/previous section.
Here's what they look like:
```{r, echo=F, fig.cap="Left and right navigation arrows", fig.show="hold", results='asis'}
knitr::include_graphics("src/images/left_arrow.png")
knitr::include_graphics("src/images/right_arrow.png")
```
### Associated CSU Course
This bookdown book is intended to accompany the associated course at Colorado State University, but the curriculum is free for anyone to access and use.
If you're reading the PDF or EPUB version of this book, you can find the "live" version at [https://csu-r.github.io/Module3/](https://csu-r.github.io/Module3/), and all of the source files for this book can be found at [https://github.com/CSU-R/Module3](https://github.com/CSU-R/Module3).
If you're not taking the CSU course, you will periodically encounter instructions and references which are not relevant to you. For example, we will make reference to the Canvas website, which only CSU students enrolled in the course have access to.
## Special Boxes
Because I have a poor memory, I am putting the boxes here as a reference while I write this.
```{block, type='reflect'}
This box will prompt you to pause and reflect on your experience and/or learning. No feedback will be given, but this may be graded on completion.
```
```{block, type='assessment'}
This box will signify a quiz or assignment which you will turn in for grading, on which the instructor will provide feedback.
```
```{block, type='progress'}
This box is for checking your understanding, to make sure you are ready for what follows.
```
```{block, type='video'}
This box is for displaying/linking to videos in order to help illustrate or communicate concepts.
```
```{block, type='caution'}
This box will warn you of possible problems or pitfalls you may encounter!
```
```{block, type='bonus'}
This box is to provide material going beyond the main course content, or material which will be revisited later in more depth.
```
```{block, type='feedback'}
This box will prompt for your feedback on the organization of the course, so we can improve the material for everyone!
Any of the boxes may include hyperlinks like this: [I am a link](https://www.r-graph-gallery.com/) or code like this `This is code`.
```