nmers | R Documentation |
Creates an n-mer point pattern by selecting the n+1 nearest neighbors of a sampled point pattern from its parent distribution.
nmers(sam, parent, n = 2, full = FALSE)
sam |
pp3. The seed points for the n-mers |
parent |
pp3. The point pattern from which to draw the n-mers |
n |
numeric. The number of points in the n-mer. Default is 2 |
full |
logical. Return a marked pattern with both n-mers and
"background" points? Default is |
A pp3 with the n-mers. If full = FALSE
(the default) this is
an unmarked pattern with only the positions of the n-mers. If
full = TRUE
, this is a marked pattern with marks "nmers" and "bkgd".
clustersim
Other simulation functions:
clustersim()
,
lattice()
,
makecluster()
,
morph_lamellar()
,
morph_rods()
,
read.rcp()
,
scaleRCP()
,
stitch.size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.