Skip to content

Commit

Permalink
Merge branch 'main' into fixing-issues-with-data-classes-lab
Browse files Browse the repository at this point in the history
  • Loading branch information
ehumph committed Sep 27, 2024
2 parents a2fa939 + e3d1494 commit ff50515
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,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] 605 435 300 696 680</code></pre>
<pre><code>## [1] 202 215 260 375 300</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] 606 436 301 697 681</code></pre>
<pre><code>## [1] 203 216 261 376 301</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] 606 436 301 697 681</code></pre>
<pre><code>## [1] 203 216 261 376 301</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 @@ -406,7 +406,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] 607 437 302 698 682</code></pre>
<pre><code>## [1] 204 217 262 377 302</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 index.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ <h2>Testimonials from our other courses:</h2>
<h2>Find an Error!?</h2>
<hr />
<p>Feel free to submit typos/errors/etc via the GitHub repository associated with the class: <a href="https://github.com/fhdsl/DaSEH" class="uri">https://github.com/fhdsl/DaSEH</a></p>
<p>This page was last updated on 2024-09-26.</p>
<p>This page was last updated on 2024-09-27.</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>
</p>
Expand Down
6 changes: 3 additions & 3 deletions modules/Intro/Intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ More on that soon!

## Summary

🏠 [Class Website - https://daseh.org/](https://daseh.org/) - Logistics, resources, and help!
🏠 [Class Website - `https://daseh.org/`](https://daseh.org/) - Logistics, resources, and help!

📝 [Research Survey](https://forms.gle/vxp8vxdN2Ck2j7uY6)
📝 [Research Survey - `https://forms.gle/vxp8vxdN2Ck2j7uY6`](https://forms.gle/vxp8vxdN2Ck2j7uY6)

🩺 [Pulse Check](%60r%20config::get(%22google_survey%22)%60)
🩺 [Pulse Check - `r config::get("google_survey")`](`r config::get("google_survey")`)

## Summary

Expand Down
6 changes: 3 additions & 3 deletions modules/Intro/Intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,11 @@ <h1 data-config-title><!-- populated from slide_config.json --></h1>

</article></slide><slide class=""><hgroup><h2>Summary</h2></hgroup><article id="summary">

<p>🏠 <a href='https://daseh.org/' title=''>Class Website - https://daseh.org/</a> - Logistics, resources, and help!</p>
<p>🏠 <a href='https://daseh.org/' title=''>Class Website - <code>https://daseh.org/</code></a> - Logistics, resources, and help!</p>

<p>📝 <a href='https://forms.gle/vxp8vxdN2Ck2j7uY6' title=''>Research Survey</a></p>
<p>📝 <a href='https://forms.gle/vxp8vxdN2Ck2j7uY6' title=''>Research Survey - <code>https://forms.gle/vxp8vxdN2Ck2j7uY6</code></a></p>

<p>🩺 <a href='%60r%20config::get(%22google_survey%22)%60' title=''>Pulse Check</a></p>
<p>🩺 <a href='https://forms.gle/JAsLbyRDtCtxwgFG9' title=''>Pulse Check - https://forms.gle/JAsLbyRDtCtxwgFG9</a></p>

</article></slide><slide class=""><hgroup><h2>Summary</h2></hgroup><article id="summary-1">

Expand Down
Binary file modified modules/Intro/Intro.pdf
Binary file not shown.

0 comments on commit ff50515

Please sign in to comment.