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 14, 2025
1 parent 76af331 commit d0cbebf
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 94 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] 1243 1100 268 1270 332</code></pre>
<pre><code>## [1] 1054 135 265 246 890</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] 1244 1101 269 1271 333</code></pre>
<pre><code>## [1] 1055 136 266 247 891</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] 1244 1101 269 1271 333</code></pre>
<pre><code>## [1] 1055 136 266 247 891</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] 1245 1102 270 1272 334</code></pre>
<pre><code>## [1] 1056 137 267 248 892</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-13.</p>
<p>This page was last updated on 2025-01-14.</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
136 changes: 56 additions & 80 deletions modules/Factors/Factors.html

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions modules/Factors/lab/Factors_Lab.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ editor_options:
Load all the libraries we will use in this lab.

```{r message=FALSE}
library(dplyr)
library(ggplot2)
library(tidyverse)
```

### 1.0
Expand Down
13 changes: 6 additions & 7 deletions modules/Factors/lab/Factors_Lab_Key.html

Large diffs are not rendered by default.

Binary file modified modules/Factors/lab/yts_fct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0cbebf

Please sign in to comment.