replext: Launch Replext Simulation Shiny Application

View source: R/replext.R

replextR Documentation

Launch Replext Simulation Shiny Application

Description

This function creates and launches a Shiny web application for running simulations related to constrained statistical inference in ANOVA and regression settings. The application allows users to set various parameters for replext_t1_c1 and replext_t2_c1 functions and view the resulting simulation data. The simulation is based on Vanbrabant et al. (2015).

Usage

replext()

Details

The Shiny application consists of a user interface for setting simulation parameters and a server logic to process the simulations. Users can select between different simulation settings (cell blocks), specify parameters, run the simulations, view the results in a table format, and download the results. The application also handles dynamic UI elements based on user selections and manages data downloads.

The app's UI includes:

  • A sidebar for input parameters and action buttons.

  • A main panel for displaying simulation results.

The server logic includes:

  • Rendering parameter input UI based on selected cell block.

  • Running simulations and storing results.

  • Rendering and exporting the results table.

Value

A Shiny app object which can be run to start the application.

References

Vanbrabant, Leonard; Van De Schoot, Rens; Rosseel, Yves (2015). Constrained statistical inference: sample-size tables for ANOVA and regression. Frontiers in Psychology, 5. DOI:10.3389/fpsyg.2014.01565. URL: https://www.frontiersin.org/articles/10.3389/fpsyg.2014.01565

Examples

# Launch the Replext Simulation Shiny application
if(interactive()){
  replext()
}


mmirestriktor documentation built on June 24, 2024, 1:07 a.m.