#' @keywords internal
.clean_data <- function(data, include_factors = TRUE, multilevel = FALSE) {
if (!multilevel) {
if (include_factors) {
data <- datawizard::to_numeric(data, dummy_factors = TRUE)
} else {
data <- data[sapply(data, is.numeric)]
}
}
data
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.