test_studies {SimTOST} | R Documentation |
test_studies
Description
Internal function to estimate the bioequivalence test for nsim simulated studies given a sample size n
Usage
test_studies(nsim, n, comp, param, param.d, arm_seed, ncores)
Arguments
nsim |
number of simulated studies |
n |
sample size |
comp |
index comparator |
param |
list of parameters (mean,sd,tar) |
param.d |
design parameters |
arm_seed |
seed for each endpoint to get consistent in simulations across all comparators |
ncores |
number of cores used for the calculation |
Value
a logical matrix of size (nsim) X (number of endpoints + 1) function only replicates test_bioq nsim times.
[Package SimTOST version 1.0.2 Index]