2021-08-22
Because the program requires all of the boxes to be filled working it is not possible to save in the middle of your work. If I needed to step away from the computer while in the middle of implementing them R would stop running when my computer went to sleep and I would have to start over. I could copy and paste from the page that I had started into the newly launched page but that was very time consuming and frustrating. This happened at least twice. Perhaps the program allows you to save with a warning that errors have been found but still allows you to keep your progress.
I also received this error a couple of times when I was going to "Make the model". This means I had to close and reopen R. This might be a problem on my end with R though. Listening on http://127.0.0.1:7169 Warning: Error in if: missing value where TRUE/FALSE needed 74: check_model 73: observeEventHandler [/Library/Frameworks/R.framework/Versions/3.6/Resources/library/modelbuilder/modelbuilder/app.R#127] 2: shiny::runApp 1: modelbuilder
RxOde might have dependencies that are not ideal.
Implement a generate_pomp() function which produces code that uses the pomp package.
Eventually loading data and fitting in a graphical manner is the goal. Likely as a separate package.
Further update model check/parse function to allow more flexible models (e.g. sin/cos/etc.)
Allowing for parameters that change on/off at discrete times.
Allowing for initial conditions or parameter values that are not numeric but instead depend on other quantities. E.g. instead of requiring b1 = 0.1 and b2 = 0.05, allow b1 = 2 * b2. Similarly, allow an initial condition to be S = f * 1000.
Add further model checks to make sure user doesn't do something wrong.
Add a repository for user contributed models to package/github site. Should allow easy upload of a model (Rds) file, then automated checking of model and if model is ok, automatic addition to 'database' of models. might want to do that through a shiny app? See e.g. the NetLogo website for a conceptual example: https://ccl.northwestern.edu/netlogo/models/community/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.