diff --git a/help.html b/help.html index 95f31ec9a..b5fd62bc1 100644 --- a/help.html +++ b/help.html @@ -347,14 +347,14 @@

Why are my changes not taking effect? It’s making my results look

Here we are creating a new object from an existing one:

new_rivers <- sample(rivers, 5)
 new_rivers
-
## [1] 350 652 500 570 435
+
## [1]  315  625  490 2533  680

Using just this will only print the result and not actually change new_rivers:

new_rivers + 1
-
## [1] 351 653 501 571 436
+
## [1]  316  626  491 2534  681

If we want to modify new_rivers and save that modified version, then we need to reassign new_rivers like so:

new_rivers <- new_rivers + 1
 new_rivers
-
## [1] 351 653 501 571 436
+
## [1]  316  626  491 2534  681

If we forget to reassign this can cause subsequent steps to not work as expected because we will not be working with the data that has been modified.


@@ -403,7 +403,7 @@

Error: object ‘X’ not found

Make sure you run something like this, with the <- operator:

rivers2 <- new_rivers + 1
 rivers2
-
## [1] 352 654 502 572 437
+
## [1]  317  627  492 2535  682

diff --git a/modules/Intro/Intro.pdf b/modules/Intro/Intro.pdf index 690e60ff2..ba867a940 100644 Binary files a/modules/Intro/Intro.pdf and b/modules/Intro/Intro.pdf differ