Description Usage Arguments Value
Sample from multiple independent normal distributions. Produces a unique sample of size n
using each element in
mean
and sd
. Equivalent to sampling from a multivariate normal distribution with no covariance. Each sample using rnorm
.
1 | sample_normals(n, mean, sd, col_names = NULL)
|
n |
Number of observations. |
mean |
Vector of means. |
sd |
Vector of stadnard deviations. |
col_names |
Column names to returned matrix. |
Matrix with each column a sample from a normal distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.