ages | R Documentation |
Returns a vector with ages with a normal distribution truncated by upper and upper limits.
ages(n = 100, lower = 18, upper = 75, mean = 55, sd = 15)
n |
An integer to define the length of the returned vector. |
lower |
An integer for ages' lower limit. |
upper |
An integer for ages' upper limit. |
mean |
A value for mean's distribution. |
sd |
A value for standar deviation's distribution. |
A vector length n
with normal distributed truncated ages.
ages(n = 100, lower=18, upper=75, mean = 55, sd = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.