Computes the diameter of a window.
## S3 method for class 'owin' diameter(x)
A window whose diameter will be computed.
This function computes the diameter of a window of arbitrary shape, i.e. the maximum distance between any two points in the window.
x should be a window (an object of class
owin.object for details)
or can be given in any format acceptable to
diameter is generic. This function is the
method for the class
The numerical value of the diameter of the window.
1 2 3 4 5