| Math.dist | R Documentation |
Handles exp(), log(), sqrt(), abs(), cos(), sin(), etc.
## S3 method for class 'dist'
Math(x, ...)
x |
a dist object |
... |
additional arguments |
A simplified distribution or edist
# exp(Normal) simplifies to LogNormal
z <- exp(normal(0, 1))
z
# sqrt of a distribution (no closed-form rule, remains edist)
w <- sqrt(exponential(1))
is_edist(w) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.