get_random_number_from_truncated_normal_dist | R Documentation |
Get a vector of random numbers, drawn from a normal distribution, which is truncated (e.g. between 0 and 1). Has been used to generate the example dataset. The mean is given, the standard deviation is the mean / 3.
get_random_number_from_truncated_normal_dist(length_of_vector, mean, max, min)
length_of_vector |
number, length of returned vector |
mean |
number, the mean of the normal distribution. |
max |
number, the maximum which is assigned to all values which exceed the limits |
min |
number, the minimum which is assigned to all values which are below the given limit. |
a numeric vector of randomly generated numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.