INTERNAL: The gradient of the log likelihood function
hopit_derivLL(parameters = model$coef, model, collapse = TRUE,
use_weights, negative = FALSE)
model parameters (optional). If the parameters not delivered, they are taken from the model$coef
.
a hopit
object.
a logical indicating whether to sum individual LL contributions.
a logical indicating whether to use model weights.
a logical indicating whether the function should return negative LL.