NeuroShepherd / ordinalsimr

R package and Shiny app for simulating ordinal endpoint results
https://neuroshepherd.github.io/ordinalsimr/
Other
1 stars 0 forks source link

Generate copyable code for the end-users #134

Open NeuroShepherd opened 1 month ago

NeuroShepherd commented 1 month ago

RStudio (and the Shiny app itself) is prone to crashing when running a large number of operations so it may be preferable to use the Shiny app to allow users to test on a smaller number of iterations, and then provide them a template .R script that could be executed in a terminal source(*.R) command.

NeuroShepherd commented 1 month ago

{shinymeta} would seem to be a reasonable option for this, but I don't actually want people to have to enter e.g. 10,000 iterations to get code with such inputs. Instead, would probably need to construct a variety of calls, and then cat those into a text file or similar.