dsblnorm {sbd}R Documentation

Size biased log-normal probability density

Description

Calculates size biased log-normal probability density - the underlying log-normal probability density when the likelihood of recording an observation is proportional to its value.

Usage

dsblnorm(x, lmean, lsig, log = FALSE, xlog = FALSE)

Arguments

x

A vector of positive numbers.

lmean

The mean of the distribution on the log scale.

lsig

The standard deviation of the distribution on the log scale.

log

A logical indicating whether to return log densities.

xlog

A logical indicating whether to return densities for log transformed data.

Value

A vector of probability densities.

Examples

  data(BCI_speed_data)
  agoutiData <- subset(BCI_speed_data, species=="agouti")
  dsblnorm(agoutiData$speed, 0, 0.1)

[Package sbd version 0.1.0 Index]