Skip to content
Prev 25189 / 29559 Next

[FORGED] Spatial points pattern generation

On 14/12/16 12:17, Maurizio Marchi wrote:

            
"Completely random" patterns can be generated using rpoispp().

Clustered patterns can be generated using (amongst other functions)

   * rThomos()
   * rMatern()
   * rLGCP()

or more generally using rNeymanScott().

Regular patterns can be generated using rmh() with 'cif="strauss"'
or using rStrauss().

Not quite sure what you mean by a "Mixed distribution".  Perhaps you 
want to do something like generate patterns from 1), 2) and 3) and then 
superimpose them into a single pattern using superimpose().

Marks are assigned to points of a pattern by means of the syntax

     marks(X) <- m

where m is a vector or factor of length equal to npoints(X) or a data 
frame with nrows(m) = npoints(X).

How you generate the marks is up to you.

Read the (incredibly well written :-) ) help for the functions referred 
to above, or better still read the (even more incredibly well
written :-) ) book to which you can find a pointer by pointing your 
browser at http://spatstat.github.io.

That's about all I can say in response to such a general question.  If 
you have further focussed and specific questions, please get back to me.

cheers,

Rolf Turner