Learn R Programming

SimTOST (version 1.0.2)

power_cal: Calculate the power across all comparators

Description

Internal function to calculate the power across all comparators

Usage

power_cal(n, nsim, param, param.d, seed, ncores)

Value

power calculated from a global list of comparators

Arguments

n

sample size

nsim

number of simulated studies

param

list of parameters (mean,sd,tar)

param.d

design parameters

seed

main seed

ncores

number of cores