From ea3a7c6d1dfe66c07a8f3e0baeb1662c0bdbb450 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 24 Jun 2024 14:14:57 +0000 Subject: [PATCH] Render site --- docs/module_details/day9.html | 2 +- help.html | 8 ++++---- index.html | 2 +- materials_schedule.html | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/module_details/day9.html b/docs/module_details/day9.html index 5fea9e263..5da98c1ac 100644 --- a/docs/module_details/day9.html +++ b/docs/module_details/day9.html @@ -394,7 +394,7 @@

Material

9 Functions HTML, PDF -Rmd +Rmd Lab, Key, Key HTML Day 9 diff --git a/help.html b/help.html index fceaa8bc0..ad2a46d8c 100644 --- a/help.html +++ b/help.html @@ -405,16 +405,16 @@

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

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

new_rivers <- sample(rivers, 5)
 new_rivers
-
## [1] 710 600 280 286 460
+
## [1] 315 350 332 210 350

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

new_rivers + 1
-
## [1] 711 601 281 287 461
+
## [1] 316 351 333 211 351

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] 711 601 281 287 461
+
## [1] 316 351 333 211 351

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.

@@ -484,7 +484,7 @@

Error: object ‘X’ not found

operator:

rivers2 <- new_rivers + 1
 rivers2
-
## [1] 712 602 282 288 462
+
## [1] 317 352 334 212 352

Find an Error!?

associated with the class:
https://github.com/jhudsl/intro_to_r

-

This page was last updated on 2024-06-17.

+

This page was last updated on 2024-06-24.

Creative Commons License diff --git a/materials_schedule.html b/materials_schedule.html index 7a49de126..c4aba9c19 100644 --- a/materials_schedule.html +++ b/materials_schedule.html @@ -672,7 +672,8 @@

Detailed Schedule + Materials

Functions HTML, PDF -Rmd +Rmd Lab, Key,