Skip to content

Commit

Permalink
Render site
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 6, 2024
1 parent 6df7e4c commit db8e292
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,14 +353,14 @@ <h2><strong>Why are my changes not taking effect? It’s making my results look
<p>Here we are creating a new object from an existing one:</p>
<pre class="r"><code>new_rivers &lt;- sample(rivers, 5)
new_rivers</code></pre>
<pre><code>## [1] 280 306 350 380 210</code></pre>
<pre><code>## [1] 230 352 470 760 900</code></pre>
<p>Using just this will only print the result and not actually change <code>new_rivers</code>:</p>
<pre class="r"><code>new_rivers + 1</code></pre>
<pre><code>## [1] 281 307 351 381 211</code></pre>
<pre><code>## [1] 231 353 471 761 901</code></pre>
<p>If we want to modify <code>new_rivers</code> and save that modified version, then we need to reassign <code>new_rivers</code> like so:</p>
<pre class="r"><code>new_rivers &lt;- new_rivers + 1
new_rivers</code></pre>
<pre><code>## [1] 281 307 351 381 211</code></pre>
<pre><code>## [1] 231 353 471 761 901</code></pre>
<p>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.</p>
<hr />
</div>
Expand Down Expand Up @@ -409,7 +409,7 @@ <h2><strong>Error: object ‘X’ not found</strong></h2>
<p>Make sure you run something like this, with the <code>&lt;-</code> operator:</p>
<pre class="r"><code>rivers2 &lt;- new_rivers + 1
rivers2</code></pre>
<pre><code>## [1] 282 308 352 382 212</code></pre>
<pre><code>## [1] 232 354 472 762 902</code></pre>
<hr />
</div>
<div id="error-unexpected-in-error-unexpected-in-error-unexpected-x-in" class="section level2">
Expand Down
2 changes: 1 addition & 1 deletion modules/Data_Visualization/lab/Data_Visualization_Lab.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ <h3>P.2</h3>
</div>
<div id="p.3" class="section level3">
<h3>P.3</h3>
<p>Modify <code>facet_plot</code> one more time with a fun theme! Look into the <a href="https://github.com/MatthewBJane/ThemePark">ThemePark package</a> It has lots of fun themes! Try one out! Remember you will need to install it using <code>remotes::install_github(&quot;MatthewBJane/ThemePark&quot;)</code>and load in the library.</p>
<p>Modify <code>facet_plot</code> one more time with a fun theme! Look into the <a href="https://github.com/MatthewBJane/ThemePark">ThemePark package</a>. It has lots of fun themes! Try one out! Remember you will need to install it using <code>remotes::install_github(&quot;MatthewBJane/ThemePark&quot;)</code>and load in the library.</p>
</div>
</div>

Expand Down

0 comments on commit db8e292

Please sign in to comment.