powered by
Falls back to realize and delegates to rmap.empirical_dist.
realize
rmap.empirical_dist
# S3 method for edist rmap(x, g, ...)
A transformed empirical_dist.
empirical_dist
An edist object.
edist
Function to apply to each observation.
Additional arguments forwarded to g.
g
# \donttest{ set.seed(1) z <- normal(0, 1) * exponential(1) abs_z <- rmap(z, abs) mean(abs_z) # }
Run the code above in your browser using DataLab