From db8e2924bc62627c9ec0dc100732948b7536df80 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Dec 2024 18:02:04 +0000 Subject: [PATCH] Render site --- help.html | 8 ++++---- .../Data_Visualization/lab/Data_Visualization_Lab.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/help.html b/help.html index 1c923b81..c9104c47 100644 --- a/help.html +++ b/help.html @@ -353,14 +353,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] 280 306 350 380 210
+
## [1] 230 352 470 760 900

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

new_rivers + 1
-
## [1] 281 307 351 381 211
+
## [1] 231 353 471 761 901

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] 281 307 351 381 211
+
## [1] 231 353 471 761 901

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.


@@ -409,7 +409,7 @@

Error: object ‘X’ not found

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

rivers2 <- new_rivers + 1
 rivers2
-
## [1] 282 308 352 382 212
+
## [1] 232 354 472 762 902

diff --git a/modules/Data_Visualization/lab/Data_Visualization_Lab.html b/modules/Data_Visualization/lab/Data_Visualization_Lab.html index 76759da8..2a352047 100644 --- a/modules/Data_Visualization/lab/Data_Visualization_Lab.html +++ b/modules/Data_Visualization/lab/Data_Visualization_Lab.html @@ -250,7 +250,7 @@

P.2

P.3

-

Modify facet_plot one more time with a fun theme! Look into the ThemePark package It has lots of fun themes! Try one out! Remember you will need to install it using remotes::install_github("MatthewBJane/ThemePark")and load in the library.

+

Modify facet_plot one more time with a fun theme! Look into the ThemePark package. It has lots of fun themes! Try one out! Remember you will need to install it using remotes::install_github("MatthewBJane/ThemePark")and load in the library.