concatxy
From spatstat v1.3-2
by Adrian Baddeley
Concatenate x,y Coordinate Vectors
Concatenate any number of pairs of x
and y
coordinate vectors.
- Keywords
- spatial
Usage
concatxy(...)
Arguments
- ...
- Any number of arguments, each of which is a structure
containing elements
x
andy
.
Details
This function can be used to superimpose two or more point patterns
of unmarked points (but see also superimpose
which is
recommended).
It assumes that each of the arguments in
...
is a structure containing (at least) the elements
x
and y
. It concatenates all the x
elements
into a vector x
, and similarly for y
, and returns these
concatenated vectors.
Value
- A list with two components
x
andy
, which are the concatenations of all the correspondingx
andy
vectors in the argument list.
See Also
Examples
library(spatstat)
dat <- runifrect(30)
xy <- list(x=runif(10),y=runif(10))
new <- concatxy(dat, xy)
Community examples
Looks like there are no examples yet.