{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}.
You can install the development version of shinypredict from Github with:
# install.packages("remotes")
remotes::install_github("jesse-smith/shinypredict")
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)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.