R/KNNShiny.R

#' Start KNNShiny
#' @title Launch 'KNNShiny' Interface
#' @return Nothing
#' @description KNNShiny() loads interactive user interface built using R 'shiny'.
#' @details The interactive user interface is to provide an easy way for K-nearest neighbour(KNN) analaysis and downloading relevant plot.
#' @keywords KNNShiny
#' @examples
#' if(interactive()){
#' library(rmarkdown)
#' KNNShiny()
#' }

KNNShiny <- function() {

  rmarkdown::run(system.file("img", "KNNShiny.Rmd", package = "KNNShiny"))
  Sys.setenv("R_TESTS" = "")
}


 

Try the KNNShiny package in your browser

Any scripts or data that you put into this service are public.

KNNShiny documentation built on May 9, 2019, 5:05 p.m.