Density for the PoissonPoints distribution.

dpois.points(x, lambda, ostatistic, dimension = 2, log = FALSE)

Arguments

x

vector of quantiles.

lambda

the mean density of points.

ostatistic

positive values, usually integers.

dimension

Either 2 and/or 3.

log

Logical; if TRUE, the logarithm is returned.

Value

dpois.points gives the density.

Details

See poisson.points, the VGAM family function for estimating the parameters, for the formula of the probability density function and other details.

Examples

if (FALSE)  lambda <- 1; xvec <- seq(0, 2, length = 400)
plot(xvec, dpois.points(xvec, lambda, ostat = 1, dimension = 2),
     type = "l", las = 1, col = "blue",
     sub = "First order statistic",
     main = paste("PDF of PoissonPoints distribution with lambda = ",
                  lambda, " and on the plane", sep = ""))  # \dontrun{}
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'y' in selecting a method for function 'plot': object 'lambda' not found