https://cran.r-project.org/web/packages/daySupply/index.html
CRAN: Package daySupply
Allows clinicians and researchers to compute daily dose (and subsequently days' supply) for prescription refills using the following methods: Fixed window,...
cranpackage