https://github.com/cran/spatstat
Tip revision: 2910896e7be42bade87fb5b17a6239f86cb05760 authored by Adrian Baddeley on 15 June 2018, 06:48:03 UTC
version 1.56-0
version 1.56-0
Tip revision: 2910896
concatxy.Rd
\name{concatxy}
\alias{concatxy}
\title{Concatenate x,y Coordinate Vectors}
\description{
Concatenate any number of pairs of \code{x} and \code{y}
coordinate vectors.
}
\usage{
concatxy(\dots)
}
\arguments{
\item{\dots}{
Any number of arguments, each of which is a structure
containing elements \code{x} and \code{y}.
}
}
\value{
A list with two components \code{x} and \code{y}, which are the
concatenations of all the corresponding \code{x} and \code{y}
vectors in the argument list.
}
\details{
This function can be used to superimpose two or more point patterns
of unmarked points (but see also \code{\link{superimpose}} which is
recommended).
It assumes that each of the arguments in
\code{\dots} is a structure containing (at least) the elements
\code{x} and \code{y}. It concatenates all the \code{x} elements
into a vector \code{x}, and similarly for \code{y}, and returns these
concatenated vectors.
}
\seealso{
\code{\link{superimpose}},
\code{\link{quadscheme}}
}
\examples{
dat <- runifrect(30)
xy <- list(x=runif(10),y=runif(10))
new <- concatxy(dat, xy)
}
\author{\adrian
and \rolf
}
\keyword{spatial}
\keyword{manip}