R/SampleDist.R

Defines functions SampleDist

Documented in SampleDist

#' SampleDist shiny app
#'
#' Launches the SampleDist shiny app, a tool to explore sampling variability of the linear model and the sampling distributions of the least squares estimators
#'
#'
#' @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()){
#'  SampleDist()
#'  }
#' ## End(Not run)
#' @import shiny
#' @importFrom car ellipse
#'
#' @export


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