replext_pgsql: Replication and Extension of Generalized Least Squares Simulation Shiny App
Description
This function creates a Shiny app for running and visualizing simulations of
Generalized Least Squares (GLS) models, extending the work of Maric et al. (2014).
It allows users to interactively set simulation parameters, run simulations,
view results, and generate plots.
A Shiny app object which can be run to start the application.
Arguments
dbname
Character string. The name of the PostgreSQL database to connect to.
datatable
Character string. The name of the table in the database where
results will be stored.
host
Character string. The host name or IP address of the PostgreSQL server.
port
Integer. The port number on which the PostgreSQL server is listening.
user
Character string. The username for the PostgreSQL database connection.
password
Character string. The password for the PostgreSQL database
connection.
Details
The app provides a user interface for:
Setting simulation parameters
Running simulations based on the specified parameters
Viewing simulation results in a table format
Generating plots of various metrics across different conditions
Storing and retrieving results from a PostgreSQL database
Displaying relevant citations
The app uses the replext_gls() function to perform the actual simulations.
References
Maric, M., de Haan, E., Hogendoorn, S.M., Wolters, L.H. & Huizenga, H.M. (2014).
Evaluating statistical and clinical significance of intervention effects in
single-case experimental designs: An SPSS method to analyze univariate data.
Behavior Therapy. doi: 10.1016/j.beth.2014.09.009
See Also
replext_gls for the underlying simulation function.