nvertices | R Documentation |
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.
and Suman Rakshit.
vertices
nvertices(square(2))
nvertices(letterR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.