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 Jan 24, 2025
1 parent 9358a88 commit 6fe52c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,14 +347,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] 680 390 2348 410 890</code></pre>
<pre><code>## [1] 1270 350 435 265 250</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] 681 391 2349 411 891</code></pre>
<pre><code>## [1] 1271 351 436 266 251</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] 681 391 2349 411 891</code></pre>
<pre><code>## [1] 1271 351 436 266 251</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 @@ -403,7 +403,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] 682 392 2350 412 892</code></pre>
<pre><code>## [1] 1272 352 437 267 252</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 @@ -333,7 +333,7 @@ <h2>Testimonials</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/jhudsl/intro_to_r" class="uri">https://github.com/jhudsl/intro_to_r</a></p>
<p>This page was last updated on 2025-01-23.</p>
<p>This page was last updated on 2025-01-24.</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
7 changes: 3 additions & 4 deletions resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,11 @@ <h1 class="title toc-ignore">Resources</h1>
<p><strong>Want help creating tables?</strong></p>
<ul>
<li><a href="https://www.danieldsjoberg.com/gtsummary/articles/tbl_summary.html">Guide on making nice tables from stats tests in R</a></li>
</ul>
</details>
<ul>
<li><a href="https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html">Guide on making custom styled tables in R with the <code>kableExtra</code> package</a></li>
<li><a href="https://rstudio.github.io/DT/">Guide on using DT table to make interactive tables</a> <br></li>
<li><a href="https://rstudio.github.io/DT/">Guide on using <code>DT table</code> to make interactive tables</a></li>
</ul>
</details>
<p><br></p>
<details>
<summary>
<span style="color: #5383bb;"> <strong>Courses &amp; Conferences</strong></span>
Expand Down

0 comments on commit 6fe52c7

Please sign in to comment.