dlnorm_zerb: Adjusted lognormal likelihood from Zerbini et al. 2011 (eq....

View source: R/RcppExports.R

dlnorm_zerbR Documentation

Adjusted lognormal likelihood from Zerbini et al. 2011 (eq. 5)

Description

dlnorm_zerb returns the density for the adjusted log normal distribution whose logarith has mean equal to meanlog and standard deviation equal to sdlog: $$f\left(x\right) = \frac1\sigma * x exp \left( \frac \left( ln\left( x \right) - \mu \right) ^ 2 2 \sigma^2 \right)$$

Usage

dlnorm_zerb(x, meanlog, sdlog, return_log = TRUE)

Arguments

x

vector of quantiles.

meanlog

mean of the distribution on the log scale with a default value of 0.

sdlog

standard deviation of the distribution on the log scale with a default value of 1.

log

logical; if TRUE, probabilities p are given as log(p).

Value

A vector of densities.


antarctic-humpback-2019-assessment/HumpbackSIR documentation built on Nov. 6, 2023, 6:07 p.m.