R/Prediction.r

Defines functions Prediction

Documented in Prediction

#' Prediction shiny app
#'
#' Launches the Prediction shiny app, a tool to explore confidence and prediction intervals for the conditional mean in a simple linear model
#'
#'
#'
#'
#' @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()){
#'  Prediction()
#'  }
#' ## End(Not run)
#' @import shiny
#'
#' @export


Prediction=function(){
  appDir <- system.file("PredictionLMApp.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.