R/distribution.R

likelihood.Rd

likelihood(x, ...) # S3 method for class 'distribution' likelihood(x, sample, ..., log = FALSE) log_likelihood(x, ...)

The distribution(s).

Additional arguments used by methods.

A list of sampled values to compare to distribution(s).

If TRUE, the log-likelihood will be computed.

TRUE