On second thought, writing a pdf parser in R to extract draw elements was, perhaps, a poor use of time.

On second thought, writing a pdf parser in R to extract draw elements was, perhaps, a poor use of time.
It has the WIP status, many parts need rewriting as are based on examples found over the internet, but I decided to share it, hoping that some may find it useful.
Outline of statistics with practical examples in R
Available freely at https://doi.org/10.5281/zenodo.23372264
wow, and you didn't even use #rlang! (which would probably be my instinct when trying to implement something like this)
New from the R Consortium’s nlmixr2 Working Group: adaptive dosing in rxode2.
nlmixr2 is an open-source R ecosystem for pharmacometrics and modeling drug behavior and dosing.
See how dosing can adapt during simulation:
r-consortium.org/posts/nlmixr...