This function returns the log-likelihood function of a model

loglik(model, ...)

Arguments

model

The likelihood model

...

Additional arguments

Value

A log-likelihood function to compute the log-likelihood given a data frame and parameters.