Many of the data graphics in this book use a specific shade of blue used by CRC Press and denoted by the variable crcblue
in our R code. To make your graphs match ours, you will need to define crcblue
.
In this full color version of the book, we also use a pre-defined color-blind-safe diverging color palette.
Albert, Jim. 2018.
LearnBayes: Functions for Learning Bayesian Inference.
https://CRAN.R-project.org/package=LearnBayes.
Allaire, J. J., Yihui Xie, Christophe Dervieux, Jonathan McPherson, Javier Luraschi, Kevin Ushey, Aron Atkins, et al. 2024.
rmarkdown: Dynamic Documents for r.
https://github.com/rstudio/rmarkdown.
Bates, Douglas, Martin Mächler, Ben Bolker, and Steve Walker. 2015.
“Fitting Linear Mixed-Effects Models Using lme4.” Journal of Statistical Software 67 (1): 1–48.
https://doi.org/10.18637/jss.v067.i01.
Baumer, Benjamin S., and Jim Albert. 2024.
Abdwr3edata: Companion to “Analyzing Baseball Data with R,” 3rd Edition.
https://github.com/beanumber/abdwr3edata.
Baumer, Benjamin S., Daniel T. Kaplan, and Nicholas J. Horton. 2021.
Modern Data Science with R. 2nd ed. Boca Raton: Chapman; Hall/CRC Press.
https://www.routledge.com/Modern-Data-Science-with-R/Baumer-Kaplan-Horton/p/book/9780367191498.
Campitelli, Elio. 2021.
metR: Tools for Easier Analysis of Meteorological Fields.
https://doi.org/10.5281/zenodo.2593516.
Carl, Sebastian, and Camden Kay. 2023.
mlbplotR: Create “ggplot2” and “gt” Visuals with Major League Baseball Logos.
https://CRAN.R-project.org/package=mlbplotR.
Chang, Winston, Joe Cheng, J. J. Allaire, Carson Sievert, Barret Schloerke, Yihui Xie, Jeff Allen, Jonathan McPherson, Alan Dipert, and Barbara Borges. 2024.
shiny: Web Application Framework for r.
https://CRAN.R-project.org/package=shiny.
Csárdi, Gábor, Jim Hester, Hadley Wickham, Winston Chang, Martin Morgan, and Dan Tenenbaum. 2024.
remotes: R Package Installation from Remote Repositories, Including “GitHub”.
https://CRAN.R-project.org/package=remotes.
Dahl, David B., David Scott, Charles Roosen, Arni Magnusson, and Jonathan Swinton. 2019.
xtable: Export Tables to LaTeX or HTML.
https://CRAN.R-project.org/package=xtable.
Francisco Rodriguez-Sanchez, and Connor P. Jackson. 2023.
grateful: Facilitate Citation of r Packages.
https://pakillo.github.io/grateful/.
Friendly, Michael, Chris Dalzell, Martin Monkman, and Dennis Murphy. 2023.
Lahman: Sean “Lahman” Baseball Database.
https://CRAN.R-project.org/package=Lahman.
Grolemund, Garrett, and Hadley Wickham. 2011.
“Dates and Times Made Easy with lubridate.” Journal of Statistical Software 40 (3): 1–25.
https://www.jstatsoft.org/v40/i03/.
Harrell Jr, Frank E. 2024.
Hmisc: Harrell Miscellaneous.
https://CRAN.R-project.org/package=Hmisc.
Hester, Jim, and Davis Vaughan. 2023.
bench: High Precision Timing of r Expressions.
https://CRAN.R-project.org/package=bench.
Hester, Jim, Hadley Wickham, and Gábor Csárdi. 2023.
fs: Cross-Platform File System Operations Based on “libuv”.
https://CRAN.R-project.org/package=fs.
Meschiari, Stefano. 2022.
Latex2exp: Use LaTeX Expressions in Plots.
https://CRAN.R-project.org/package=latex2exp.
Mühleisen, Hannes, and Mark Raasveldt. 2024.
duckdb: DBI Package for the DuckDB Database Management System.
https://CRAN.R-project.org/package=duckdb.
Müller, Kirill. 2020.
here: A Simpler Way to Find Your Files.
https://CRAN.R-project.org/package=here.
Müller, Kirill, Jeroen Ooms, David James, Saikat DebRoy, Hadley Wickham, and Jeffrey Horner. 2023.
RMariaDB: Database Interface and MariaDB Driver.
https://CRAN.R-project.org/package=RMariaDB.
Müller, Kirill, Hadley Wickham, David A. James, and Seth Falcon. 2024.
RSQLite: SQLite Interface for r.
https://CRAN.R-project.org/package=RSQLite.
Pedersen, Thomas Lin. 2024.
patchwork: The Composer of Plots.
https://CRAN.R-project.org/package=patchwork.
Petti, Bill, and Saiem Gilani. 2024.
baseballr: Acquiring and Analyzing Baseball Data.
https://CRAN.R-project.org/package=baseballr.
R Core Team. 2024.
R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing.
https://www.R-project.org/.
Richardson, Neal, Ian Cook, Nic Crane, Dewey Dunnington, Romain François, Jonathan Keane, Dragoș Moldovan-Grünfeld, Jeroen Ooms, Jacob Wujciak-Jens, and Apache Arrow. 2024.
arrow: Integration to “Apache” “Arrow”.
https://CRAN.R-project.org/package=arrow.
Robinson, David, Alex Hayes, and Simon Couch. 2023.
broom: Convert Statistical Objects into Tidy Tibbles.
https://CRAN.R-project.org/package=broom.
Slowikowski, Kamil. 2024.
ggrepel: Automatically Position Non-Overlapping Text Labels with “ggplot2”.
https://CRAN.R-project.org/package=ggrepel.
Waring, Elin, Michael Quinn, Amelia McNamara, Eduardo Arino de la Rubia, Hao Zhu, and Shannon Ellis. 2022.
skimr: Compact and Flexible Summaries of Data.
https://CRAN.R-project.org/package=skimr.
Wickham, Hadley. 2016.
Ggplot2: Elegant Graphics for Data Analysis. New York: Springer-Verlag.
https://ggplot2.tidyverse.org.
———. 2022.
lobstr: Visualize r Data Structures with Trees.
https://CRAN.R-project.org/package=lobstr.
———. 2023a.
downlit: Syntax Highlighting and Automatic Linking.
https://CRAN.R-project.org/package=downlit.
———. 2023b.
modelr: Modelling Functions That Work with the Pipe.
https://CRAN.R-project.org/package=modelr.
———. 2023c.
stringr: Simple, Consistent Wrappers for Common String Operations.
https://CRAN.R-project.org/package=stringr.
———. 2024.
rvest: Easily Harvest (Scrape) Web Pages.
https://CRAN.R-project.org/package=rvest.
Wickham, Hadley, Mara Averick, Jennifer Bryan, Winston Chang, Lucy D’Agostino McGowan, Romain François, Garrett Grolemund, et al. 2019.
“Welcome to the tidyverse.” Journal of Open Source Software 4 (43): 1686.
https://doi.org/10.21105/joss.01686.
Wickham, Hadley, Romain François, Lionel Henry, Kirill Müller, and Davis Vaughan. 2023.
dplyr: A Grammar of Data Manipulation.
https://CRAN.R-project.org/package=dplyr.
Wickham, Hadley, Maximilian Girlich, and Edgar Ruiz. 2024.
dbplyr: A “dplyr” Back End for Databases.
https://CRAN.R-project.org/package=dbplyr.
Wickham, Hadley, Jim Hester, and Jennifer Bryan. 2024.
readr: Read Rectangular Text Data.
https://CRAN.R-project.org/package=readr.
Wickham, Hadley, Jim Hester, and Jeroen Ooms. 2023.
Xml2: Parse XML.
https://CRAN.R-project.org/package=xml2.
Wood, S. N. 2003.
“Thin-Plate Regression Splines.” Journal of the Royal Statistical Society (B) 65 (1): 95–114.
https://doi.org/10.1111/1467-9868.00374.
———. 2004.
“Stable and Efficient Multiple Smoothing Parameter Estimation for Generalized Additive Models.” Journal of the American Statistical Association 99 (467): 673–86.
https://doi.org/10.1198/016214504000000980.
———. 2011.
“Fast Stable Restricted Maximum Likelihood and Marginal Likelihood Estimation of Semiparametric Generalized Linear Models.” Journal of the Royal Statistical Society (B) 73 (1): 3–36.
https://doi.org/10.1111/j.1467-9868.2010.00749.x.
———. 2017. Generalized Additive Models: An Introduction with R. 2nd ed. Boca Raton: Chapman; Hall/CRC.
Wood, S. N., Natalya Pya, and B. Säfken. 2016.
“Smoothing Parameter and Model Selection for General Smooth Models (with Discussion).” Journal of the American Statistical Association 111: 1548–75.
https://doi.org/10.1080/01621459.2016.1180986.
Xie, Yihui. 2014. “knitr: A Comprehensive Tool for Reproducible Research in R.” In Implementing Reproducible Computational Research, edited by Victoria Stodden, Friedrich Leisch, and Roger D. Peng. Boca Raton: Chapman; Hall/CRC.
———. 2015.
Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Boca Raton: Chapman; Hall/CRC.
https://yihui.org/knitr/.
———. 2023.
knitr: A General-Purpose Package for Dynamic Report Generation in r.
https://yihui.org/knitr/.
Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018.
R Markdown: The Definitive Guide. Boca Raton, Florida: Boca Raton: Chapman; Hall/CRC.
https://bookdown.org/yihui/rmarkdown.
Xie, Yihui, Christophe Dervieux, and Emily Riederer. 2020.
R Markdown Cookbook. Boca Raton, Florida: Boca Raton: Chapman; Hall/CRC.
https://bookdown.org/yihui/rmarkdown-cookbook.
Zeileis, Achim, and Gabor Grothendieck. 2005.
“zoo: S3 Infrastructure for Regular and Irregular Time Series.” Journal of Statistical Software 14 (6): 1–27.
https://doi.org/10.18637/jss.v014.i06.