Learn R Programming

dbmss (version 1.2.4)

SimulateD: Simulations of point patterns to obtain values of D under the null hypothesis

Description

This function is used internally by DEnvelope to fill the simulation matrix.

Usage

SimulateD(X, r, Cases, Controls, Intertype = FALSE)

Arguments

X
A point pattern (ppp.object), marks must be a dataframe with two columns: PointType: labels, as factors. PointWeight: weights.
r
A vector of distances.
Cases
One of the point types
Controls
One of the point types.
Intertype
Logical; if TRUE, D is computed as Di in Marcon and Puech (2012).

Value

  • A vector containing simulated D(r) values.

References

Kenkel, N. C. (1988). Pattern of Self-Thinning in Jack Pine: Testing the Random Mortality Hypothesis. Ecology 69(4): 1017-1024. Marcon, E. and F. Puech (2012). A typology of distance-based measures of spatial concentration. HAL SHS. 00679993.

See Also

DEnvelope