You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: references.bib
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -394,3 +394,24 @@ @Manual{tidyselect
394
394
author = {Lionel Henry and Hadley Wickham},
395
395
year = {2021},
396
396
url = {https://tidyselect.r-lib.org/}}
397
+
398
+
@Manual{ggplot,
399
+
title = {{ggplot2 R package}},
400
+
author = {Hadley Wickham and Winston Chang and Lionel Henry and Thomas Lin Pederson and Kohske Takahashi and Claus Wilke and Kara Woo and Hiroaki Yutani and Dewey Dunnington},
401
+
year = {2021},
402
+
url = {https://ggplot2.tidyverse.org/}}
403
+
404
+
@Manual{lubridate,
405
+
title = {{lubridate R package}},
406
+
author = {Vitalie Spinu and Garrett Grolemund and Hadley Wickham},
407
+
year = {2021},
408
+
url = {https://lubridate.tidyverse.org/}}
409
+
410
+
@article{lubridatepaper,
411
+
title = {Dates and times made easy with {lubridate}},
Copy file name to clipboardExpand all lines: viz.Rmd
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -384,7 +384,7 @@ Note that it is important that the vector given to `xlim` must be of the same
384
384
type as the data that is mapped to that axis.
385
385
Here, we have mapped a date to the x-axis,
386
386
and so we need to use the `date` function
387
-
(from the `tidyverse``lubridate` R package)
387
+
(from the `tidyverse`[`lubridate` R package](https://lubridate.tidyverse.org/)[@lubridate; @lubridatepaper])
388
388
to convert the character strings we provide to `c` to `date` vectors.
389
389
390
390
> **Note:**`lubridate` is a package that is installed by the `tidyverse` metapackage,
@@ -1517,15 +1517,26 @@ please follow the instructions for computer setup needed to run the worksheets
1517
1517
found in Chapter \@ref(move-to-your-own-machine).
1518
1518
1519
1519
## Additional resources
1520
-
- The [`ggplot2` page on the Tidyverse website](https://ggplot2.tidyverse.org) is where you should look if you want to learn more about the functions in this chapter, the full set of arguments you can use, and other related functions. The site also provides a very nice cheat sheet that summarizes many of the data wrangling functions from this chapter.
1521
-
- The [Fundamentals of Data Visualization](https://clauswilke.com/dataviz/) has a wealth of information on designing effective visualizations. It is not specific to any particular programming language or library. If you want to improve your visualization skills, this is the next place to look.
1522
-
-[*R for Data Science*](https://r4ds.had.co.nz/) has a chapter on [creating visualizations using `ggplot2`](https://r4ds.had.co.nz/data-visualisation.html). This reference is specific to R and `ggplot2`, but provides a much more detailed introduction to the full set of tools that `ggplot2` provides. This chapter is where you should look if you want to learn how to make more intricate visualizations in `ggplot2` than what is included in this chapter.
1520
+
- The [`ggplot2` R package page](https://ggplot2.tidyverse.org)[@ggplot] is
1521
+
where you should look if you want to learn more about the functions in this
1522
+
chapter, the full set of arguments you can use, and other related functions.
1523
+
The site also provides a very nice cheat sheet that summarizes many of the data
1524
+
wrangling functions from this chapter.
1525
+
- The *Fundamentals of Data Visualization*[@wilkeviz] has
1526
+
a wealth of information on designing effective visualizations. It is not
1527
+
specific to any particular programming language or library. If you want to
1528
+
improve your visualization skills, this is the next place to look.
1529
+
-*R for Data Science*[@wickham2016r] has a [chapter on creating visualizations using
1530
+
`ggplot2`](https://r4ds.had.co.nz/data-visualisation.html). This reference is
1531
+
specific to R and `ggplot2`, but provides a much more detailed introduction to
1532
+
the full set of tools that `ggplot2` provides. This chapter is where you should
1533
+
look if you want to learn how to make more intricate visualizations in
1534
+
`ggplot2` than what is included in this chapter.
1523
1535
- The [`theme` function documentation](https://ggplot2.tidyverse.org/reference/theme.html)
1524
-
is an excellent reference to see how you can fine tune the non-data aspects
1525
-
of your visualization.
1526
-
-[*R for Data Science*](https://r4ds.had.co.nz/) has a chapter on
1527
-
[dates and times](https://r4ds.had.co.nz/dates-and-times.html).
1528
-
This chapter is where you should look if you want to learn about `date` vectors,
1529
-
including how to create them,
1530
-
and how to use them to effectively handle durations, periods and intervals
1531
-
using the `lubridate` package.
1536
+
is an excellent reference to see how you can fine tune the non-data aspects
1537
+
of your visualization.
1538
+
-*R for Data Science* has a chapter on [dates and
1539
+
times](https://r4ds.had.co.nz/dates-and-times.html). This chapter is where
1540
+
you should look if you want to learn about `date` vectors, including how to
1541
+
create them, and how to use them to effectively handle durations, periods and
0 commit comments