knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.
You can install modelscript with remotes:
remotes::install_github("RobertMyles/modelscript")
The template contains a prep and a model building section. 'prep' contains subsections for:
'Build Model' contains subsections for:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.