README.md

shinypredict

Lifecycle: experimental CRAN status Codecov test coverage R-CMD-check

{shinypredict} provides a graphical user interface for generating and examining predictions made by a fitted {tidymodels} model. It works with any model supported by {butcher}.

Installation

You can install the development version of shinypredict from Github with:

# install.packages("remotes")
remotes::install_github("jesse-smith/shinypredict")

Example

The main function in {shinymodels} is sp_predict(), which starts a shiny app in the current R session.

library(shinypredict)
# Fit a simple linear regression using `iris` data
mod <- lm(Sepal.Width ~ Species, data = iris)
sp_predict(mod)

Code of Conduct

Please note that the shinypredict project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



jesse-smith/shinypredict documentation built on Dec. 20, 2021, 11:05 p.m.