Skip to content

tidymodels/TMwR

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

TMwR

Build Status

This repository contains the source for Tidy Modeling with R. The purpose of this book is to demonstrate how the tidyverse and tidymodels can be used to produce high quality models.

Reproducing the book or results

First, you'll need to install the required packages. To do this, first install the remotes package:

install.packages("remotes")

Then use this to install what you need to create the book:

remotes::install_github("tidymodels/TMwR")

Although we rigorously try to use the current CRAN versions of all packages, the code above may install some development versions.

The content is created using the bookdown package. To compile the book, use:

bookdown::render_book("index.Rmd", "bookdown::gitbook")

This will create the HTML files in a directory called _book. Although we are in the process of publishing a print version of this work with O'Reilly, we do not currently support building to a PDF version.

Contributing

Please note that this work is written under a Contributor Code of Conduct and the online version is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. By participating in this project (for example, by submitting an issue with suggestions or edits) you agree to abide by its terms. Instructions for making contributions can be found in the contributing.md file.