Method for obtaining the pdf of a empirical_dist object.

# S3 method for empirical_dist
density(x, ...)

Arguments

x

The object to obtain the pdf of.

...

Additional arguments to pass into the pdf function.

Note

sort tibble lexicographically and do a binary search to find upper and lower bound in log(nobs(x)) time.