# S3 method for distribution
density(x, at, ..., log = FALSE)

## Arguments

x The distribution(s). The point at which to compute the density/mass. Additional arguments passed to methods. If TRUE, probabilities will be given as log probabilities.

## Details

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