VGAM (version 1.1-1)

PoissonPoints: Poisson Points Distribution

Description

Density for the PoissonPoints distribution.

Usage

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.

See Also

poisson.points, dpois, Maxwell.

Examples

Run this code
# NOT RUN {
 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 = "")) 
# }

Run the code above in your browser using DataCamp Workspace