rounding.ppp {spatstat.geom}R Documentation

Detect Numerical Rounding

Description

Given a numeric vector, or an object containing numeric spatial coordinates, determine whether the values have been rounded to a certain number of decimal places.

Usage

## S3 method for class 'ppp'
rounding(x)

## S3 method for class 'pp3'
rounding(x)

## S3 method for class 'ppx'
rounding(x)

Arguments

x

A point pattern (object of class ppp, pp3 or ppx).

Details

The functions documented here are methods for the generic rounding. They determine whether the coordinates of a spatial object have been rounded to a certain number of decimal places.

Value

An integer.

Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net

See Also

round.ppp, rounding

Examples

   rounding(cells)

[Package spatstat.geom version 3.3-2 Index]