Learn R Programming

CompLognormal (version 1.0)

dcomplnorm: Composite lognormal pdf

Description

Computes the pdf of the composite lognormal distribution

Usage

dcomplnorm(x, spec, sigma = 1, theta = 1, ...)

Arguments

x
scale or vector of positive values at which the pdf needs to be computed
sigma
the value of sigma parameter of the lognormal distribution, must be positive
theta
the value of theta parameter of the lognormal distribution, must be positive
spec
the specific distribution with which lognormal should be composited with
...
other parameters

Value

  • An object of the same length as x, giving the pdf values computed at x

References

S. Nadarajah, S. A. A. Bakar, CompLognormal: A new R package, submitted

Examples

Run this code
x=runif(10,min=0,max=1)
y=dcomplnorm(x,"exp",rate=1)

Run the code above in your browser using DataLab