View source: R/replext_helpers.R
getUIParams | R Documentation |
This internal helper function dynamically generates UI elements for setting parameters based on the chosen simulation type in the Replext Shiny application.
getUIParams(cellBlock)
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. |
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.
A list of Shiny UI elements appropriate for setting parameters for the selected simulation type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.