hopit_derivLL: INTERNAL: The gradient of the log likelihood function

View source: R/hopit.R

hopit_derivLLR Documentation

INTERNAL: The gradient of the log likelihood function

Description

INTERNAL: The gradient of the log likelihood function

Usage

hopit_derivLL(
  parameters = model$coef,
  model,
  collapse = TRUE,
  use_weights,
  negative = FALSE
)

Arguments

parameters

model parameters (optional). If the parameters not delivered, they are taken from the model$coef.

model

a hopit object.

collapse

a logical indicating whether to sum individual LL contributions.

use_weights

a logical indicating whether to use model weights.

negative

a logical indicating whether the function should return negative LL.

Author(s)

Maciej J. Danko


hopit documentation built on Oct. 1, 2022, 5:06 p.m.