density.distribution {distributional} | R Documentation |
The probability density/mass function
Description
Computes the probability density function for a continuous distribution, or the probability mass function for a discrete distribution.
Usage
## S3 method for class 'distribution'
density(x, at, ..., log = FALSE)
Arguments
x |
The distribution(s). |
at |
The point at which to compute the density/mass. |
... |
Additional arguments passed to methods. |
log |
If |
[Package distributional version 0.4.0 Index]