replext_gls_UIParams: Generate UI Elements for GLS Simulation Parameters

View source: R/replext_gls_app_helpers.R

replext_gls_UIParamsR Documentation

Generate UI Elements for GLS Simulation Parameters

Description

This internal function creates a list of Shiny UI input elements for setting parameters in the Generalized Least Squares (GLS) simulation Shiny app.

Usage

replext_gls_UIParams()

Details

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.

Value

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

Note

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.

See Also

replext_pgsql for the main Shiny app function.


scdtb documentation built on Sept. 30, 2024, 9:35 a.m.