Skip to contents

Generate random numbers whose density function: $$0.2(2 e^{-2x}) + 0.8 \frac{x^3}{3!}e^{-x}.$$

Usage

mixexpgamma_gen(n = 100, seed = NULL)

Arguments

n

The number of random numbers.

seed

A seed for random number generator.

Value

A numeric vector of probabilities for a given argument x.