| density.beta_dist | R Documentation |
Returns a function that evaluates the beta PDF at given points.
## S3 method for class 'beta_dist'
density(x, ...)
x |
A |
... |
Additional arguments (not used). |
A function function(t, log = FALSE, ...) returning the
density (or log-density) at t.
x <- beta_dist(2, 5)
f <- density(x)
f(0.3)
f(0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.