hopit_negLL: INTERNAL: The log likelihood function

View source: R/hopit.R

hopit_negLLR Documentation

INTERNAL: The log likelihood function

Description

INTERNAL: The log likelihood function

Usage

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

Arguments

parameters

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

model

a hopit object.

collapse

a logical indicating whether to sum the individual LL contributions.

use_weights

a logical indicating whether to use model weights.

negative

a logical indicating whether the function should return negative.

Author(s)

Maciej J. Danko


MaciejDanko/gotm documentation built on Oct. 1, 2022, 12:59 p.m.