Skip to content

Commit

Permalink
differences for PR #885
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 12, 2024
1 parent f3cc2d4 commit 044f56f
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 1,694 deletions.
2 changes: 1 addition & 1 deletion 01-rstudio-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ function (name, pos = -1L, envir = as.environment(pos), all.names = FALSE,
}
else all.names
}
<bytecode: 0x56509eb1a918>
<bytecode: 0x5589c71989f8>
<environment: namespace:base>
```

Expand Down
2 changes: 1 addition & 1 deletion 02-project-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ ls -lh data/gapminder_data.csv
```

```{.output}
-rw-r--r-- 1 runner docker 80K Apr 4 00:20 data/gapminder_data.csv
-rw-r--r-- 1 runner docker 80K Apr 11 23:58 data/gapminder_data.csv
```

The file size is 80K.
Expand Down
2 changes: 1 addition & 1 deletion 03-seeking-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ attached base packages:
loaded via a namespace (and not attached):
[1] compiler_4.3.3 tools_4.3.3 yaml_2.3.8 knitr_1.45 xfun_0.43
[6] renv_1.0.5 evaluate_0.23
[6] renv_1.0.7 evaluate_0.23
```

Will print out your current version of R, as well as any packages you
Expand Down
6 changes: 3 additions & 3 deletions 13-dplyr.md → 12-dplyr.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ ggplot(data = americas, mapping = aes(x = year, y = lifeExp)) +
theme(axis.text.x = element_text(angle = 45))
```

<img src="fig/13-dplyr-rendered-unnamed-chunk-27-1.png" style="display: block; margin: auto;" />
<img src="fig/12-dplyr-rendered-unnamed-chunk-27-1.png" style="display: block; margin: auto;" />

This code makes the right plot but it also creates an intermediate variable
(`americas`) that we might not have any other uses for. Just as we used
Expand All @@ -604,7 +604,7 @@ gapminder %>%
theme(axis.text.x = element_text(angle = 45))
```

<img src="fig/13-dplyr-rendered-unnamed-chunk-28-1.png" style="display: block; margin: auto;" />
<img src="fig/12-dplyr-rendered-unnamed-chunk-28-1.png" style="display: block; margin: auto;" />

More examples of using the function `mutate()` and the `ggplot2` package.

Expand All @@ -622,7 +622,7 @@ gapminder %>%
theme_minimal()
```

<img src="fig/13-dplyr-rendered-unnamed-chunk-29-1.png" style="display: block; margin: auto;" />
<img src="fig/12-dplyr-rendered-unnamed-chunk-29-1.png" style="display: block; margin: auto;" />

::::::::::::::::::::::::::::::::::::::: challenge

Expand Down
Loading

0 comments on commit 044f56f

Please sign in to comment.