Last chance! 50% off unlimited learning
Sale ends in
coords(x, ...)
## S3 method for class 'ppp':
coords(x, ...)
## S3 method for class 'ppx':
coords(x, ..., spatial = TRUE, temporal = TRUE)
"ppp"
), a three-dimensional point pattern
(object of class "pp3"
), or a
general multidimensional space-time point pattern
(object of classdata.frame
with one row for each point, containing the
coordinates.coords
is generic, with methods for
the classes "ppp"
) and "ppx"
.
An object of class "pp3"
also inherits from "ppx"
and
is handled by the method for "ppx"
.ppx
,
pp3
,
ppp
,
as.hyperframe.ppx
,
as.data.frame.ppx
.df <- data.frame(x=runif(4),y=runif(4),t=runif(4))
X <- ppx(data=df, temporal="t")
coords(X)
coords(X, temporal=FALSE)
Run the code above in your browser using DataLab