A normalizer used for normalizing nimble distributions.
It is particularly useful for fitting dpoisppDetection_normal and dpoisppLocalDetection_normal models
using the semi-complete data likelihood approach.
Usage
dnormalizer(x, logNormConstant, log = 0)
rnormalizer(n, logNormConstant)
Value
The normalizing constant.
Arguments
x
Input data, which can be any scalar and will not influence the return value.
logNormConstant
Normalizing constant on a log scale.
log
Logical. If TRUE return the log normalizing constant. Otherwise return the normalizing constant.
n
Integer specifying the number of realisations to generate. Only n = 1 is supported.