Skip to content

Commit 371460a

Browse files
Render site
1 parent f281787 commit 371460a

File tree

4 files changed

+250
-229
lines changed

4 files changed

+250
-229
lines changed

help.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,14 +347,14 @@ <h2><strong>Why are my changes not taking effect? It’s making my results look
347347
<p>Here we are creating a new object from an existing one:</p>
348348
<pre class="r"><code>new_rivers &lt;- sample(rivers, 5)
349349
new_rivers</code></pre>
350-
<pre><code>## [1] 380 390 237 435 460</code></pre>
350+
<pre><code>## [1] 524 1770 425 250 2533</code></pre>
351351
<p>Using just this will only print the result and not actually change <code>new_rivers</code>:</p>
352352
<pre class="r"><code>new_rivers + 1</code></pre>
353-
<pre><code>## [1] 381 391 238 436 461</code></pre>
353+
<pre><code>## [1] 525 1771 426 251 2534</code></pre>
354354
<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>
355355
<pre class="r"><code>new_rivers &lt;- new_rivers + 1
356356
new_rivers</code></pre>
357-
<pre><code>## [1] 381 391 238 436 461</code></pre>
357+
<pre><code>## [1] 525 1771 426 251 2534</code></pre>
358358
<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>
359359
<hr />
360360
</div>
@@ -403,7 +403,7 @@ <h2><strong>Error: object ‘X’ not found</strong></h2>
403403
<p>Make sure you run something like this, with the <code>&lt;-</code> operator:</p>
404404
<pre class="r"><code>rivers2 &lt;- new_rivers + 1
405405
rivers2</code></pre>
406-
<pre><code>## [1] 382 392 239 437 462</code></pre>
406+
<pre><code>## [1] 526 1772 427 252 2535</code></pre>
407407
<hr />
408408
</div>
409409
<div id="error-unexpected-in-error-unexpected-in-error-unexpected-x-in" class="section level2">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ <h2>Testimonials</h2>
333333
<h2>Find an Error!?</h2>
334334
<hr />
335335
<p>Feel free to submit typos/errors/etc via the GitHub repository associated with the class: <a href="https://github.com/jhudsl/intro_to_r" class="uri">https://github.com/jhudsl/intro_to_r</a></p>
336-
<p>This page was last updated on 2025-06-17.</p>
336+
<p>This page was last updated on 2025-06-18.</p>
337337
<p style="text-align:center;">
338338
<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>
339339
</p>

modules/Data_Output/Data_Output.html

Lines changed: 245 additions & 224 deletions
Large diffs are not rendered by default.
-3.52 KB
Binary file not shown.

0 commit comments

Comments
 (0)