Description
Optimal Sample Size and Allocation with a Network Meta-Analysis.
Description
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.
README.md
OssaNMA
This is a package for the optimal sample size allocation for a new trial when leveraging evidence from existing network meta-analysis
How to install
You can install this through use devtools
devtools::install_github("fangshuye/OssaNMA")
Import
library(OssaNMA)