normalize_adfun: Run TMB normalization

Description Usage Arguments Value

View source: R/model_functions.R

Description

Get the TMB normalization constant from random effects

Usage

1
normalize_adfun(adfun, flag, value = 0, verbose = FALSE)

Arguments

adfun

The ADFunction to normalize

flag

[char] Flagging variable to indicate whether random effects only have been incorporated into the joint negative log-likelihood

value

[int, default 0] Value that the flagging variable takes when the data should NOT be incorporated into the jnll

verbose

[bool, default FALSE] return a message about normalization?

Value

Normalized ADFunction


njhenry/covidemr documentation built on Feb. 2, 2022, 2:31 a.m.