Description Usage Arguments Value Author(s) Examples
Computes the probability density at a value for a continuous distribution.
1 | probabilitydensity(object, val, log = FALSE, normalize = TRUE)
|
object |
A continuous probability distribution. |
val |
The point at which the probability density should be computed. |
log |
If TRUE, the logarithm of the probability density is returned. |
normalize |
If FALSE, unnormalized densities are returned. |
The probability density at val
.
Petter Mostad <mostad@chalmers.se>
1 2 | probabilitydensity(normal(), 1)
probabilitydensity(mnormal(c(0,0), diag(2)), c(1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.