A system for calculating the minimum total sample size needed to achieve a prespecified power or the optimal allocation for each treatment group with a fixed total sample size to maximize the power.
This is a package for the optimal sample size allocation for a new trial when leveraging evidence from existing network meta-analysis
You can install this through use devtools
devtools::install_github("fangshuye/OssaNMA")
library(OssaNMA)