Inverse CDF Sampling

inverse_sample(n_samples, cdf = NULL, pdf = NULL)

Arguments

n_samples

If true, remove entries after failure time for each observation.

cdf

A list with x and y representing the cdf

pdf

A list with x and y representing the pdf