| rmap.edist | R Documentation |
Falls back to realize and delegates to
rmap.empirical_dist.
## S3 method for class 'edist'
rmap(x, g, ...)
x |
An |
g |
Function to apply to each observation. |
... |
Additional arguments forwarded to |
A transformed empirical_dist.
set.seed(1)
z <- normal(0, 1) * exponential(1)
abs_z <- rmap(z, abs)
mean(abs_z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.