View source: R/replext_gls_app_helpers.R
replext_gls_UIParams | R Documentation |
This internal function creates a list of Shiny UI input elements for setting parameters in the Generalized Least Squares (GLS) simulation Shiny app.
replext_gls_UIParams()
This function is used internally by the replext_pgsql
Shiny app to
generate the UI elements for parameter input. It creates a standardized set
of inputs with default values that users can modify to customize their
simulation settings.
A list of Shiny input elements, including:
textInput for number of timepoints in each phase
textInput for AR(1) parameter values
numericInput for number of simulation iterations
numericInput for number of phases
numericInput for number of participants
textAreaInput for regression coefficients
textAreaInput for model formula
textAreaInput for covariate specification
numericInput for alpha level
The function uses text inputs for lists (e.g., timepoints, AR(1) parameters) which should be entered as comma-separated values. The betas, formula, and covariate specifications are entered as text areas to allow for more complex inputs.
replext_pgsql
for the main Shiny app function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.