power_cal {SimTOST}R Documentation

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)

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

Value

power calculated from a global list of comparators


[Package SimTOST version 1.0.2 Index]