https://github.com/cran/spatstat
Tip revision: 8718b3c4133e9eecaa99e6e95a040fcf22b80c30 authored by Adrian Baddeley on 01 February 2007, 16:09:56 UTC
version 1.11-1
version 1.11-1
Tip revision: 8718b3c
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 Baddeley
\email{adrian@maths.uwa.edu.au}
\url{http://www.maths.uwa.edu.au/~adrian/}
and Rolf Turner
\email{rolf@math.unb.ca}
\url{http://www.math.unb.ca/~rolf}
}
\keyword{spatial}
\keyword{manip}