ld-archer / E_FEM

This is the repository for the English version of the Future Elderly Model, originally developed at the Leonard D. Schaeffer Center for Health Policy and Microsimulation.
MIT License
3 stars 1 forks source link

Create R Notebook for model analysis #48

Closed ld-archer closed 3 years ago

ld-archer commented 3 years ago

Would be very useful to have a single document that collects lots of information from the model for debugging/comparing outputs after changing something.

This document would need:

Run the document from a Make rule, so we can automatically generate it at the end of every run. Can also then collect all the info from a specific run in a new directory, so we can come back to every run and get full information about it.

ld-archer commented 3 years ago

Formattable is an R package for special formatting of tables, including the ability to add graphs, bars and other complex structures inside table columns. We will use this to add colour to the P-value columns, for visually representing the p-values. The coloured bar will represent the size of the p-value, from 0 to 1.

ld-archer commented 3 years ago

Changed to use reactable R package instead of formattable as more powerful.

Update model_analysis.nb.html is now produced after running the debug make rule, which runs the baseline, both cross-validations, and the minimal models, then produces the debug document. This is a good start, and only one or 2 things to do to make it very useful.

Github doesn't support the filetype or I would upload one as an example