24 Packages
24.1 A Minimal Book Example
This is a sample book written in Markdown.
24.2 A Minimal rTorch Book
- Alfonso R. Reyes
Practically, you can do everything you could with PyTorch within the R ecosystem.
24.3 An Introduction to ggplot2
- Ozancan Ozdemir
This book aims to show how you can make a well-known statistical plots by using ggplot2, and also how you can improve or customize them.
Link: https://bookdown.org/ozancanozdemir/introduction-to-ggplot2/
24.4 Apache Arrow R Cookbook
This cookbook aims to provide a number of recipes showing how to perform common tasks using arrow.
24.5 BrailleR in Action
- A. Jonathan R. Godfrey
Showing how tools that support blind R users were developed with examples. Suggestions of how blind R users should work are provided.
24.6 Circular Visualization in R
This is the documentation of the circlize R package.
24.7 ComplexHeatmap Complete Reference
The ComplexHeatmap package is used to generate heatmap visualizations. It is a highly flexible tool to arrange multiple heatmaps and supports various annotation graphics for high-dimensional data. These visualizations are efficient to visualize visualizations between different sources of data sets and reveal potential patterns.
This book here contains the full documentation to using the ComplexHeatmap package effectively with plenty of small and complex examples to help you create your own complex heatmap data vizualization.
Link: https://jokergoo.github.io/ComplexHeatmap-reference/book/
24.8 Cookbook Polars for R
- Damien Dotta
The goal of the cookbook is to provide solutions to common tasks and problems in using Polars with R. It allows R users using their usual packages to quickly get the syntax required to use Polars with R.
It is structured around side-by-side comparisons between polars, R base, dplyr, tidyr and data.table.
24.9 CRAN Cookbook
- Jasmine Daly
- Beni Altmann
Your go-to guide for solving common (and often recurring) issues spotted by CRAN volunteers during package submissions and re-submissions. Here, you’ll find practical “recipes” organized by different parts of the package structure.
24.10 Create, Publish, and Analyze Personal Websites Using R and RStudio
A free, digital handbook with step-by-step instructions for launching your own personal website using R, RStudio, and other freely available technologies including GitHub, Hugo, Netlify, and Google Analytics.
24.11 Data Integration, Manipulation and Visualization of Phylogenetic Trees
A guide for data integration, manipulation and visualization of phylogenetic trees using a suite of R packages, tidytree, treeio, ggtree and ggtreeExtra.
24.12 data.table in R The Complete Beginners Guide
- Selva Prabhakaran
data.table is a package is used for working with tabular data in R. It provides the efficient data.table object which is a much improved version of the default data.frame. It is super fast and has intuitive and terse syntax. If you know R language and haven’t picked up the data.table package yet, then this tutorial guide is a great place to start.
Link: https://www.machinelearningplus.com/data-manipulation/datatable-in-r-complete-guide/
24.13 Deep Learning and Scientific Computing with R torch
This is a book about torch, the R interface to PyTorch. PyTorch, as of this writing, is one of the major deep-learning and scientific-computing frameworks, widely used across industries and areas of research. With torch, you get to access its rich functionality directly from R, with no need to install, let alone learn, Python.
Link: https://skeydan.github.io/Deep-Learning-and-Scientific-Computing-with-R-torch/
24.14 Flexible Imputation of Missing Data
- Stef van Buuren
Multiple imputation of missing data has become one of the great academic industries. Many analysts now employ multiple imputation on a regular basis as a generic solution to the omnipresent missing-data problem, and a substantial group of practitioners are doing the calculations in mice. This book aspires to combine a state-of-the-art overview of the field with a set of how-to instructions for practical data analysis.
24.15 ggplot2 Elegant Graphics for Data Analysis
- Hadley Wickham
ggplot2 is an R package for producing statistical, or data, graphics. Unlike most other graphics packages, ggplot2 has an underlying grammar, based on the Grammar of Graphics (Wilkinson 2005), that allows you to compose graphs by combining independent components. This makes ggplot2 powerful. Rather than being limited to sets of pre-defined graphics, you can create novel graphics that are tailored to your specific problem.
24.16 GT Cookbook
This cookbook attempts to walk through many of the example usecases for gt, and provide useful commentary around the use of the various gt functions. The full gt documentation has other more succinct examples and full function arguments.
For advanced use cases, make sure to check out the Advanced Cookbook
Link: https://themockup.blog/static/resources/gt-cookbook.html
24.17 GT Cookbook Advanced
This cookbook attempts to walk through many of the advanced applications for gt, and provide useful commentary around the use of the various gt functions. The full gt documentation has other more succinct examples and full function arguments.
Link: https://themockup.blog/static/resources/gt-cookbook-advanced.html
24.18 Highcharter Cookbook
- Tom Bishop
Highcharter is an R implementation of the highcharts javascript library, enabled by R’s htmlwidgets package. Most of the highcharts functionality is implemented through highcharter however the documentation is a little light. This guide will provide examples on how to create and customise various graphs whilst providing some tips on how to think about the package that will help you build and debug your more ambitious charts.
24.19 knitr
Dynamic documents with R and knitr!
The knitr package was designed to be a transparent engine for dynamic report generation with R, solve some long-standing problems in Sweave, and combine features in other add-on packages into one package.
Link: https://yihui.org/knitr/
24.20 mlr3 book
The mlr3 package and ecosystem provide a generic, object-oriented, and extensible framework for classification, regression, survival analysis, and other machine learning tasks for the R language. They do not implement any learners, but provide a unified interface to many existing learners in R.
24.21 Multi-state modelling with msm: a practical course
An introduction to the use of the msm R package for fitting and predicting from multi-state models for intermittently observed data, in typical medical applications.
24.22 officeverse
This book deals with reporting from R with the packages {officer}, {officedown}, {flextable}, {rvg} and {mschart}. These packages have been developed to facilitate the production of Word documents and PowerPoint presentations from and with R. It was written specifically to offer a competitive solution to SAS ODS for tabular and graphical reporting.
24.23 pipeR Tutorial
pipeR is an R package that helps you better organize your code in pipeline built with %>>%, Pipe() or pipeline(), which is much easier to read, write, and maintain.
24.24 R bookdownplus Textbook
- Peng Zhao
‘bookdownplus’ is an extension of ‘bookdown’. It is a collection of multiple templates, which I have been collecting since years ago on the basis of LaTeX, and have been tailoring them so that I can work happily under the umbrella of ‘bookdown’. ‘bookdownplus’ helps you (and me) write varied types of books and documents. This book you are reading at the moment was exactly produced by ‘bookdownplus’.
24.25 R Function a Day
A book that collects (and provides an easy way to access and search) tweets from R Function A Day account that maintained for 1 year (from 24.01.2021 to 24.01.2022).
Link: https://bookdown.org/IndrajeetPatil/R-Function-A-Day-book/
24.26 Rcpp for everyone
- Masaki E. Tsuda
Rcpp is a package that enables you to implement R functions in C++. It is easy to use even without deep knowledge of C++, because it is implemented so as to write your C++ code in a style similar to R. And Rcpp does not sacrifice execution speed for the ease of use, anyone can get high performance outcome.
This document focuses on providing necessary information to users who are not familiar with C++. Therefore, in some cases, I explain usage of Rcpp conceptually rather than describing accurately from the viewpoint of C++, so that I hope readers can easily understand it.
24.27 reactablefmtr Cookbook
A high-level overview of the functions and styling customization options available in {reactablefmtr}.
Link: https://kcuilla.github.io/reactablefmtr/articles/reactablefmtr_cookbook.html
24.28 rlist Tutorial
rlist is a set of tools for working with list objects. Its goal is to make it easier to work with lists by providing a wide range of functions on non-tabular data stored in them. This package supports filtering, mapping, grouping, sorting, updating, searching and many other functions. It is pipe-friendly and strongly recommends functional programming style in list operations. This tutorial serves as complete guide to using rlist functionality to work with non-tabular data.
24.29 Shiny App-Packages
- Martin Frigaard
This book is a resource to help ‘connect the dots’ between building scalable Shiny applications and writing R packages. Adopting R package development practices in the early stages of your Shiny app will improve the reusability, maintainability, and shareability of all your hard work.
24.30 Targeted Learning in R: Causal Data Science with the tlverse Software Ecosystem
It is a fully reproducible, open-source, electronic handbook for applying Targeted Learning methodology in practice using the software stack provided by the tlverse ecosystem.
24.31 The caret Package
- Max Kuhn
The caret package (short for Classification And REgression Training) is a set of functions that attempt to streamline the process for creating predictive models.
24.32 The Data Validation Cookbook
The purposes of this book include demonstrating the main tools and workflows of the validate package, giving examples of common data validation tasks, and showing how to analyze data validation results.
24.33 The Grammar of Experimental Designs
An book about designing experiments using the eddible package.
24.34 The lidR package
- Jean-Romain Roussel
- Tristan R.H. Goodbody
- Piotr Tompalski
lidR is an R package for manipulating and visualizating airborne laser scanning (ALS) data with an emphasis on forestry applications. The package is entirely open source and is integrated within the geospatial R ecosytem (i.e. raster, sp, sf, rgdal etc.). This guide has been written to help both the ALS novice, as well as seasoned point cloud processing veterans.
24.35 The targets R Package Design Specification
targets has an elaborate structure to support its advanced features while ensuring decent performance. This bookdown site is a design specification to explain the major aspects of the internal architecture, including the data storage model, object oriented design, and orchestration and branching model
24.36 The targets R Package User Manual
- Will Landau
The targets package is a Make-like pipeline toolkit for Statistics and data science in R. With targets, you can maintain a reproducible workflow without repeating yourself. targets learns how your pipeline fits together, skips costly runtime for tasks that are already up to date, runs only the necessary computation, supports implicit parallel computing, abstracts files as R objects, and shows tangible evidence that the results match the underlying code and data.
24.37 The Tidyverse Cookbook
- Edited by Garrett Grolemund
This book collects code recipes for doing data science with R’s tidyverse. Each recipe solves a single common task, with a minimum of discussion.
Link: https://rstudio-education.github.io/tidyverse-cookbook/