Description Usage Arguments Value Examples
Samples a vector from a uniform distribution, the sum adds to the mean
1 | vectorToUniformDist(N, M, sd = 1)
|
N |
the number of samples |
M |
the mean of the samples |
sd |
the standard deviation of the samples |
a vector of N numbers adding to M (can be negative)
1 | vectorToUniformDist(6,10, sd = 1) / 10
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.