Description Usage Arguments Details Value Examples
Stable matching of a randomized lattice to a Poisson point process
1 | MatchingPoissonToLattice(dimension, linear.system.size, intensity, fileout=FALSE, filename="example-matchedpp.dat", unthinned.fileout=FALSE, unthinned.filename="example-ppp.dat", verbose=TRUE)
|
dimension |
Dimension d of the simulation box |
linear.system.size |
Linear system size L of the simulation box [0,L)^d |
intensity |
Intensity of the Poisson point process (mean number of points in[0,1)^d) |
fileout |
Output of matched points to file if set to TRUE (default=FALSE) |
filename |
Name of output file (default="example-matchedpp.dat") |
unthinned.fileout |
Output of unthinned Poisson point process to file if set to TRUE (default=FALSE) |
unthinned.filename |
Name of output file for the unthinned Poisson point process (default="example-ppp.dat") |
verbose |
Output of progress if set to TRUE (default=TRUE) |
Mutual nearest neighbor matching of two point patterns on the torus. imports RANN::n2 Stable matching of a randomized lattice to a Poisson point process
Matrix that stores all matched points of the Poisson point process (in columns 1 to dimension) and of the lattice (in columns dimension+1 to end). Each row contains one pair of matched points.
1 2 | out.1 <- MatchingPoissonToLattice(dimension=3,linear.system.size=4.0,intensity=25.0)
out.2 <- MatchingPoissonToLattice(2,10.0,2.5,fileout=TRUE,filename="example-2D-matched-possion-to-Z.dat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.