Count Number of Vertices
Count the number of vertices in an object for which vertices are well-defined.
nvertices(x, ...) ## S3 method for class 'owin' nvertices(x, ...) ## Default S3 method: nvertices(x, ...)
x |
A window (object of class |
... |
Currently ignored. |
This function counts the number of vertices of x
as they would be returned by vertices(x)
.
It is more efficient than executing npoints(vertices(x))
.
A single integer.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk and Suman Rakshit.
nvertices(square(2)) nvertices(letterR)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.