superimposePSP {spatstat} | R Documentation |
Superimpose any number of line segment patterns.
superimposePSP(..., W=NULL, check=TRUE)
... |
Any number of arguments, each of which is a line segment pattern
(object of class "psp" ).
|
W |
Optional. Window for the resulting line segment pattern.
An object of class "owin" , or something
acceptable to as.owin .
|
check |
Logical value (passed to psp )
determining whether to check the geometrical validity of the
resulting line segment pattern.
|
This function is used to superimpose two or more line segment patterns.
Each of the arguments in
...
is a line segment pattern object (of class "psp"
).
The line segment patterns are not required to have
the same window of observation.
The window for the superimposed line segment pattern is
specified by W
. Its default value is
the union of the windows of all the line segment patterns.
If any of the arguments is a marked line segment pattern, then all of them must be. In that case, the result is also a marked line segment pattern.
A line segment pattern (object of class "psp"
) representing the
superposition (union) of all the line segment patterns.
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
superimpose
for superimposing point patterns.
X <- rpoisline(10) Y <- as.psp(matrix(runif(40), 10, 4), window=owin()) Z <- superimposePSP(X, Y)