/modelscript

An RStudio addin to create a modelling template in a new .R file.

Primary LanguageROtherNOASSERTION

modelscript

modelscript is a little RStudio addin that creates a modelling template in a new .R file. I made it as a helper when learning how tidymodels works, so it’s geared towards that.

Installation

You can install modelscript with remotes:

remotes::install_github("RobertMyles/modelscript")

Usage

Template

The template contains a prep and a model building section. ‘prep’ contains subsections for:

  • libraries
  • data
  • EDA
  • tidy
  • visualize

‘Build Model’ contains subsections for:

  • 1: Initial Split
  • 2: Preprocessing
  • 3: Model Specification
  • 4: Hyperparameter Tuning Specification
  • 5: Bundle into Workflow
  • 6: Cross Validation
  • 7: Tune
  • 8: Explore Tuning Results
  • 9: Finalize Workflow
  • 10: Final Fit
  • 11: Evaluate