Nothing
## To avoid dependency issues
#' @importFrom parsnip set_new_model
NULL
# nocov start
# Global vars ------------------------------------------------------------------
utils::globalVariables(c("x", "y"))
# .onload ----------------------------------------------------------------------
# The functions below define the model information. These access the model
# environment inside of parsnip so they have to be executed once parsnip has
# been loaded.
.onLoad <- function(libname, pkgname) {
# This defines discrim_linear in the model database
make_discrim_linear_MASS()
make_discrim_linear_mda()
make_discrim_linear_sda()
make_discrim_linear_sparsediscrim()
# This defines discrim_quad in the model database
make_discrim_quad_MASS()
make_discrim_quad_sparsediscrim()
# This defines discrim_regularized in the model database
make_discrim_regularized()
# This defines discrim_flexible in the model database
make_discrim_flexible()
# This defines naive_Bayes in the model database
make_naive_Bayes_klaR()
make_naive_Bayes_naivebayes()
}
# nocov end
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.