mean: The mean (or rate for gamma data) of the baseline distribution
sd: The standard deviation (or shape for gamma data) of the baseline distribution
diff: The adjustment to the baseline mean for the alternative distribution.
GroupSize: An integer defining the number of data items in each group.
type: A string identifying the distribution used to simulate the data: 'n' for normal, 'ln' for log-normal, 'g' for gamma, 'lap' for Laplace.
ExpAdj: An additional adjustment factor that is added to both the mean value. Defaults to zero.
StdAdj: An additional adjustment factor that is added to both group variance (or rate for gamma data). Defaults to zero.
BlockEffect: An additional factor that is added to the mean of the both groups (shape for the gamma distribution). Defaults to zero.
BlockStdAdj: An additional factor that is added to the variance of both groups (shape for the gamma distribution). Defaults to zero.
Returns
A table with two columns (BaselineData and AlternativeData) holding the data for each group. For lognormal data an additional two columns are added which return the log transformed data.