#' @importFrom parsnip set_new_model
#' @importFrom stats predict
# ------------------------------------------------------------------------------
# The function below defines the model information. This accesses the model
# environment inside of parsnip so it has to be executed once parsnip has
# been loaded.
.onLoad <- function(libname, pkgname) {
# This defines mixture_model in the model database
make_mixture_model()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.