persimon_app {npboottprmFBar} | R Documentation |
This function launches a 'shiny' application that allows users to run performance simulations for the bootFbar method and other statistical tests. The app provides an interface to set simulation parameters, run simulations, view results, and store them in a 'PostgreSQL' database.
persimon_app(dbname, datatable, host, port, user, password)
dbname |
A string specifying the name of the 'PostgreSQL' database to connect to. |
datatable |
A string specifying the name of the table in the database where results will be stored. |
host |
A string specifying the host name or IP address of the 'PostgreSQL' server. |
port |
An integer specifying the port number on which the 'PostgreSQL' server is listening. |
user |
A string specifying the username for the 'PostgreSQL' database connection. |
password |
A string specifying the password for the 'PostgreSQL' database connection. |
The 'shiny' application provides a user interface for setting simulation
parameters, running simulations using the persimon
function, and visualizing
the results. It allows users to:
Set parameters for the simulation (means, standard deviations, sample sizes, etc.)
Run simulations with the specified parameters
View simulation results and success rates in interactive tables
Store simulation results in a PostgreSQL database
Download stored results from the database
View relevant citations for the methods used
The application uses the mmints
package for database interactions and
citation handling.
A 'shiny' application object.
persimon
for the underlying simulation function.
if(interactive()){
persimon_app(dbname = "my_database", datatable = "simulation_results",
host = "localhost", port = 5432,
user = "username", password = "password")
}