Method for obtaining the empirical distribution of a function of the observations of empirical_dist object x.

# S3 method for empirical_dist
rmap(x, g, ...)

Arguments

x

The empirical distribution object.

g

The function to apply to each observation.

...

Additional arguments to pass into function g.