Tidy Modeling with R (TMwR)

repository·main·Indexed 20 days ago

https://github.com/tidymodels/tmwr

Source repository for the book Tidy Modeling with R. It provides demonstrations on using the tidyverse and tidymodels frameworks to produce high-quality statistical models, including instructions for installing the repository and reproducing the book using bookdown.

Tokens
597
Snippets
3
Records
4
Agent score
21%

What's inside tmwr

  1. Reporting potential bugs with a reprex

    main

    To report a bug, you should provide a minimal reprex (reproducible example). Because the repository and data are publicly available, it should be possible to create a reprex that allows maintainers to recreate the problem exactly.

    If you are unfamiliar with creating a reprex, refer to the reprex documentation for guidance on how to build one.

  2. Reporting content issues or questions in Tidy Models with R

    main

    When reporting comments, questions, or inconsistencies in the book's content, follow these steps to ensure the maintainers can locate the issue:

    1. Identify the version: State the specific version and date of the book by referencing the information found on the first page (under the title and authors).
    2. Specify the location: Clearly state where the issue is located (e.g., chapter, section, or figure number).
    3. Provide context: Whenever possible, copy and paste the specific text in question using the > blockquote syntax in your issue.
    > In 0.0.1.9000 (2020-03-05), capitalization in article/book names are inconsistent. Also, sometimes initials are used for names, sometimes not:
    >
    > Agresti, Alan. 2012. Categorical Data Analysis. Wiley-Interscience.
    > Altman, D. 1991. “Categorising Continuous Variables.” British Journal of Cancer, no. 5:975.
  3. Reproduce the book or its results

    main

    The book is built using the bookdown package. To compile the source files into an HTML version of the book, use bookdown::render_book(). This will generate the HTML files in a directory named _book.

    Note: Building to a PDF version is not currently supported.

    bookdown::render_book("index.Rmd", "bookdown::gitbook")
  4. Install the TMwR repository

    main

    To install the source code and required components for the Tidy Modeling with R project, first install the remotes package from CRAN, then use remotes::install_github() to install the repository directly from GitHub.

    install.packages("remotes")
    remotes::install_github("tidymodels/TMwR")