Last chance! 50% off unlimited learning
Sale ends in
Apply numerical rounding to the spatial coordinates of a point pattern.
# S3 method for ppp
round(x, digits = 0)# S3 method for pp3
round(x, digits = 0)
# S3 method for ppx
round(x, digits = 0)
A spatial point pattern in any dimension
(object of class "ppp"
, "pp3"
or "ppx"
).
integer indicating the number of decimal places.
A point pattern object, of the same class as x
.
These functions are methods for the generic function
round
.
They apply numerical rounding to the spatial coordinates of the
point pattern x
.
rounding
to determine whether numbers have been
rounded.
round
in the Base package.
# NOT RUN {
round(cells, 1)
# }
Run the code above in your browser using DataLab