Description Usage Arguments Value Examples
Produces a random sample of k groups drawn from the same distribution with different parameters.
1 | generateSample(N, k, distr = "gaussian")
|
N |
sample size |
k |
number of groups |
distr |
type of distribution from |
list
with two fields: numeric variable response
and factor variable factor
.
1 2 | generateSample(100, 2)
generateSample(100, 2, "exp")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.