#' Runs the shiny app.
#'
#' I mean, thats about as much explanation as it needs
#'
#' @export
#'
run_kmeans_shiny <- function() {
library(tidyverse)
library(caret)
library(DT)
library(glmnet)
library(umap)
appDir <- system.file("clusters_shiny.R", package = "devinwkmeans")
if (appDir == "") {
stop("Could not find myapp. Try re-installing `devinwkmeans`.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.