Computes the probability density function for a continuous distribution, or
the probability mass function for a discrete distribution.

```
# 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 `TRUE`

, probabilities will be given as log probabilities.