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 8, 2024
1 parent c08556d commit 871529a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 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] 360 233 410 525 680</code></pre>
<pre><code>## [1] 329 230 320 444 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] 361 234 411 526 681</code></pre>
<pre><code>## [1] 330 231 321 445 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] 361 234 411 526 681</code></pre>
<pre><code>## [1] 330 231 321 445 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>
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] 362 235 412 527 682</code></pre>
<pre><code>## [1] 331 232 322 446 902</code></pre>
<hr />
</div>
<div id="error-unexpected-in-error-unexpected-in-error-unexpected-x-in"
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ <h3>Instructors</h3>
</div>
<div id="teaching-assistant" class="section level3">
<h3>Teaching Assistant</h3>
<p>Padmashri Saravanan (psarava1 at jhu.edu)</p>
<p>Padmashri Saravanan (psarava1 at jhu.edu), Alex Newman (anewma28 at
jhu.edu)</p>
<p><br></p>
</div>
</div>
Expand Down Expand Up @@ -337,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-06.</p>
<p>This page was last updated on 2024-01-08.</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
2 changes: 1 addition & 1 deletion syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ <h3>Instruction Team</h3>
(ava.hoffman at jhu.edu), <a href="https://clifmckee.github.io/">Clifton
McKee</a> (cmckee7 at jhu.edu)</li>
<li><strong>Teaching Assistants:</strong> Padmashri Saravanan (psarava1
at jhu.edu)</li>
at jhu.edu), Alex Newman (anewma28 at jhu.edu)</li>
</ul>
<p><br></p>
</div>
Expand Down

0 comments on commit 871529a

Please sign in to comment.