# superimpose

From spatstat v1.0-1
by Adrian Baddeley

##### Superimpose Several Point Patterns

Superimpose any number of point patterns.

- Keywords
- spatial

##### Usage

`superimpose(...)`

##### Arguments

- ...
- Any number of arguments, each of which represents a point pattern.
Each argument must be either a point pattern
object (of class
`"ppp"`

) or a structure containing elements`x`

and`y`

.

##### Details

This function is used to superimpose two or more point patterns
(see also `concatxy`

).
It assumes that each of the arguments in
`...`

is either a point pattern object (of class `"ppp"`

)
or a structure containing (at least) the elements
`x`

and `y`

. All the point patterns are assumed to have
the same window of observation, and (if they are marked point
patterns) the same space of possible marks.

The first argument must be a point pattern object, and it determines the observation window and mark space for the result.

To superimpose point patterns consisting only of `x,y`

coordinates,
use `concatxy`

.

##### Value

- A point pattern (object of class
`"ppp"`

) representing the superposition (union) of all the point patterns.

##### See Also

##### Examples

```
library(spatstat)
dat <- runifrect(30)
xy <- list(x=runif(10),y=runif(10))
new <- superimpose(dat, xy)
plot(new)
```

*Documentation reproduced from package spatstat, version 1.0-1, License: GPL version 2 or newer*

### Community examples

Looks like there are no examples yet.