powered by
Function that creates a log likelihood function given a density function density.
likelihood(density, ...)
density function used
other options
A function that is the log likelihood function from density function density.
The log likelihood is the log of a function of parameters given the data.
# NOT RUN { likelihood(dnorm, x = rnorm(100)) # }
Run the code above in your browser using DataLab