CLT: Launch the Central Limit Theorem Shiny application

View source: R/CLTApp.R

CLTR Documentation

Launch the Central Limit Theorem Shiny application

Description

This function starts a Shiny application that demonstrates examples of the Central Limit Theorem. The app is stored internally within the package and showcases various statistical principles through interactive visualizations. Check more details at vignette("shinyCLT")

Usage

CLT(n.cores = NULL, mode = "app", user_plan = "cluster")

Arguments

n.cores

Number of cores to use for calculations. Default value is NULL, which means that half of the cores will be used with the ceiling rounding rule.

mode

Change application behaviour when web browser tab or IDE preview is closed. By default this will end the running function and stop the local shinyApp. Switching to "server" mode will keep the shiny application running in a background even if all with application is closed.

user_plan

Specifies the parallelization strategy to use. Acceptable values are "cluster" (default), "multicore", or "multisession".

Value

Runs shinyApp

Examples

if(interactive()){
  CLT()  # Launch the CLT demonstration app
}

shinyCLT documentation built on April 3, 2025, 10:53 p.m.