inv_sample.RdThe function inv_sample() draws from the random variable, which is specified by the distribution F, using inverse sampling.
inv_sample(Finv, N = 1, F_distribution = NA)
| Finv | inverse distribution function |
|---|---|
| N | number of samples |
| F_distribution | distribution function, optional for more sophisticated plots |
returns a list containing the samples, the number of simulations and (optional) the distribution function.