Learn R Programming

npboottprmFBar (version 0.2.0)

runSimulation: Run Persimon Simulation with User Inputs

Description

This internal function executes the persimon simulation using parameters provided by the user through the persimon_app 'shiny' app interface.

Usage

runSimulation(input)

Value

A list containing two data frames:

results

Data frame with proportions of rejecting the null hypothesis

success

Data frame with counts of successful model runs

Arguments

input

A list of input values from the 'shiny' app.

Details

This function serves as a wrapper around the persimon function, translating user inputs from the persimon_app 'shiny' app into the format required by persimon. It uses helper functions from the mmints package to process certain inputs.

See Also

persimon for the underlying simulation function.