simulateMoData generates data for simulation and testing purposes.
Usage
simulateMoData(n = 500, hr = 0.8, seed = NULL)
Arguments
- n
an integer for total sample size of a randomized control trial of
two arms.
- hr
hazard ratio of treatment.
- seed
random seed. By default NULL for no seed being specified.