dnormalizer | R Documentation |
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.
dnormalizer(x, logNormConstant, log = 0) rnormalizer(n, logNormConstant)
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 |
n |
Integer specifying the number of realisations to generate. Only n = 1 is supported. |
The normalizing constant.
Wei Zhang
dnormalizer(1, log(0.5), log = TRUE) dnormalizer(0, log(0.5), log = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.