getUIParams: Generate UI Parameters for Selected Simulation Type

View source: R/replext_helpers.R

getUIParamsR Documentation

Generate UI Parameters for Selected Simulation Type

Description

This internal helper function dynamically generates UI elements for setting parameters based on the chosen simulation type in the Replext Shiny application.

Usage

getUIParams(cellBlock)

Arguments

cellBlock

A string identifier for the selected simulation type. Currently supports 'replext_t1_c1' for Order Constrained ANOVA and 'replext_t2_c1' for Inequality Constrained Linear Regression simulations.

Details

The function uses a switch statement to determine which set of UI elements to generate based on the cellBlock parameter. Each set of UI elements corresponds to the input parameters required for either the ANOVA or regression simulations. These UI elements include numeric inputs, text inputs, and checkbox inputs for various simulation parameters such as number of iterations, number of groups or variables, effect sizes, constraints, etc.

Value

A list of Shiny UI elements appropriate for setting parameters for the selected simulation type.


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