unique.circular | R Documentation |
unique.circular
returns a circular vector but with duplicate elements removed.
## S3 method for class 'circular'
unique(x, ...)
x |
a vector or a data frame or an array or |
... |
parameters passed to |
This is a method for circular
object. See the documentation of unique
.
An object of the same type of x
, but if
an element is equal to one with a smaller index, it is removed.
unique
x <- rvonmises(10, circular(0), 10)
unique(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.