R/GuessTheLine.r

Defines functions GuessTheLine

Documented in GuessTheLine

#' GuessTheLine shiny app
#'
#' Launches the GuessTheLine shiny app, the user is prompted to guess the least squares fit of a sample of random points
#'
#'
#'
#'
#' @details
#'
#'
#' Full help is available from within the shiny app.
#'
#' @return None
#'
#'
#' @author Francesco Pauli, \email{francesco.pauli@@deams.units.it}
#'
#' @examples
#' ## Not run:
#' if (interactive()){
#'  GuessTheLine()
#'  }
#' ## End(Not run)
#' @import shiny
#'
#' @export


GuessTheLine=function(){
  appDir <- system.file("GuessTheLineApp.r", package = "lmviz")
  .GlobalEnv$".wd"=getwd()
  shiny::runApp(appDir)
}

Try the lmviz package in your browser

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

lmviz documentation built on Aug. 25, 2020, 1:06 a.m.