Skip to content

Commit 2a37fd3

Browse files
Merge pull request #49 from stsnel/minor-improvements-18march
Minor typo fixes in introduction
2 parents 12b661a + 64eb47f commit 2a37fd3

File tree

2 files changed

+35
-45
lines changed

2 files changed

+35
-45
lines changed

book/slides/slides_introduction.html

Lines changed: 32 additions & 42 deletions
Large diffs are not rendered by default.

book/slides/slides_introduction.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ x <- "hello world"
122122
```
123123

124124

125-
You will see your variabe (R object) appear in your Environment (top right panel).
125+
You will see your variable (R object) appear in your Environment (top right panel).
126126
:::
127127

128128
::: {.column width="50%"}
@@ -784,7 +784,7 @@ df$job
784784

785785
## If statement: a conditional
786786

787-
An if statement tests if a condition is TRUE or FALSE and exectues code depending on the outcome of that test.
787+
An if statement tests if a condition is TRUE or FALSE and executes code depending on the outcome of that test.
788788

789789
![](images/ifstatement.png)
790790

@@ -981,7 +981,7 @@ test_age(2)
981981

982982
## A for-loop
983983

984-
- Perform the same action(s) for mutiple inputs at a time
984+
- Perform the same action(s) for multiple inputs at a time
985985
- Input is an object with multiple similar elements (e.g., a vector, row in a dataframe, etc.) that can be iterated over
986986

987987
![](images/forloop.png "For loop")

0 commit comments

Comments
 (0)