An R-based workflow for clinical trial simulation tool with application in type 1 diabetes studies | doi.page