R/auxiliaries.r
mix2gauss_gen.Rd
Generate mix gaussian random numbers whose density is: $$\frac{0.3}{\sqrt{2 \pi 0.5^2}} \exp\left(\frac{(x+1)^2}{2 \cdot 0.5^2}\right) + \frac{0.7}{\sqrt{2 \pi 0.5^2}} \exp\left(\frac{(x-1)^2}{2 \cdot 0.5^2}\right)$$.
mix2gauss_gen(n = 100, seed = NULL)
The number of random numbers.
A seed for random number generator.
A numeric vector of random numbers whose a density is described in Description.
mix2gauss_fun()