r_norm {rando} | R Documentation |
Generate Normally Distributed Values
Description
Generates a set of Normally distributed values.
Usage
r_norm(mean = 0, sd = 1, ..., n = default_n(mean, sd), .seed = NULL)
Arguments
mean |
vector of means |
sd |
vector of standard deviations, strictly positive |
... |
Unused |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
Value
A numeric vector of length n
Examples
set_n(5)
r_norm(10)
r_norm(10, 2)
r_norm(1:10)
r_norm(-2, n = 10)
[Package rando version 0.2.0 Index]