shiny app features and documentation
This version includes extensive user-interface and back-end updates to the built-in shiny app (invoked by shine_scd()
), as well as a few bug fixes. The vignette, examples, and unit tests have been updated so that the package can be compiled without any Suggested packages.
- Six more example datasets added to the package and the
scdhlm
web app. - Revisions to shiny app:
- The app now includes several options for modeling the dependence structure of level-1 error terms, including AR(1) (the default), MA(1), or independent errors.
- The app now includes an option for allowing the variance of the level-1 errors to differ by phase.
- More informative labels for the baseline trend and treatment phase trend options.
- The centering, initial treatment time, and follow-up time sliders now only appear when they are relevant.
- The centering slider now appears in the "Model estimates" tab because it is only relevant for interpreting the raw estimates from the fitted model (i.e., it does not affect the graph of fitted values).
- The "Model" tab now includes a note regarding initial treatment time and follow-up time sliders, which only appears when relevant.
- Fixed a bug so that shine_scd() can take a tibble in the dataset argument.
- Fixed a bug in graph_SCD() function that occurred in treatment reversal designs with cases that had varying numbers of reversals.
- Updated vignette, examples, and unit tests so that the package can be compiled without any packages from SUGGESTS.