Skip to content

Commit

Permalink
Render site
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudsl-robot committed Jan 9, 2024
1 parent 2572a09 commit c6c9c19
Show file tree
Hide file tree
Showing 4 changed files with 6,423 additions and 251 deletions.
8 changes: 4 additions & 4 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,16 +394,16 @@ <h2><strong>Why are my changes not taking effect? It’s making my results
<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] 545 301 1306 377 360</code></pre>
<pre><code>## [1] 1459 430 1100 360 352</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] 546 302 1307 378 361</code></pre>
<pre><code>## [1] 1460 431 1101 361 353</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] 546 302 1307 378 361</code></pre>
<pre><code>## [1] 1460 431 1101 361 353</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>
Expand Down Expand Up @@ -473,7 +473,7 @@ <h2><strong>Error: object ‘X’ not found</strong></h2>
operator:</p>
<pre class="r"><code>rivers2 &lt;- new_rivers + 1
rivers2</code></pre>
<pre><code>## [1] 547 303 1308 379 362</code></pre>
<pre><code>## [1] 1461 432 1102 362 354</code></pre>
<hr />
</div>
<div id="error-unexpected-in-error-unexpected-in-error-unexpected-x-in"
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ <h2>Find an Error!?</h2>
associated with the class: <a
href="https://github.com/jhudsl/intro_to_r"
class="uri">https://github.com/jhudsl/intro_to_r</a></p>
<p>This page was last updated on 2024-01-08.</p>
<p>This page was last updated on 2024-01-09.</p>
<p style="text-align:center;">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://live.staticflickr.com/4557/26350808799_6f9c8bcaa2_b.jpg" height="150"/>
</a>
Expand Down
3,313 changes: 3,200 additions & 113 deletions modules/Basic_R/Basic_R.html

Large diffs are not rendered by default.

3,351 changes: 3,218 additions & 133 deletions modules/Data_Input/Data_Input.html

Large diffs are not rendered by default.

0 comments on commit c6c9c19

Please sign in to comment.