simulateData.RdRandom generation for some data distribution
simulateData(...)
# S3 method for bernoulli
simulateData(n, size, prob, ...)
# S3 method for bernoulliC
simulateData(n, size, prob, ...)S3 method compatibility
number of observations. If length(n) > 1, the length
is taken to be the number required.
number of trials (zero or more).
probability of success on each trial.