mix3gauss_gen | R Documentation |
A random number generator whose density function is proportional to:
\exp(\frac{x^2}{2}) + 5\exp(\frac{(x-1)^2}{0.2}) + 3\exp(\frac{(x-1)^2}{0.5}).
mix3gauss_gen(n = 100, seed = NULL)
n |
The number of random numbers. |
seed |
A seed for random number generator. |
A numeric vector of probabilities for a given argument x
.
mix3gauss_fun()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.