Simulates and returns a normally distributed continuous dataset for two
groups.
Usage
getSimulatedTwoArmMeans(n1, n2, mean1, mean2, sd1, sd2, seed = NA_integer_)
Arguments
- n1
a single integer value. The sample size of group 1.
TODO document all arguments
Value
a list with all arguments and results; the output is defined as a
class with name 'SimulationResult'.
Examples
getSimulatedTwoArmMeans(n1 = 50, n2 = 50, mean1 = 5, mean2 = 7, sd1 = 3,
sd2 = 4, seed = 123)
#> [1] "SimulationResult"