R/sampling.R
inverse_sample.Rd
Inverse CDF Sampling
inverse_sample(n_samples, cdf = NULL, pdf = NULL)
If true, remove entries after failure time for each observation.
true
A list with x and y representing the cdf
A list with x and y representing the pdf