Calculate the log-likelihood of a probability density function (pdf).
log_likelihood.Rd
This function calculates the log-likelihood of a given probability density function (pdf) using the negative sum of the logarithm of the pdf evaluated at each value of t.