unique.circular {circular} | R Documentation |
unique.circular
returns a circular vector but with duplicate elements removed.
unique.circular(x, incomparables = FALSE, ...)
x |
a vector or a data frame or an array or NULL . |
incomparables |
a vector of values that cannot be compared.
Currently, FALSE is the only possible value, meaning that all
values can be compared. |
... |
This is a method for circular
object.
An object of the same type of x
. but if
an element is equal to one with a smaller index, it is removed.
x <- rvonmises(10, circular(0), 10) unique(x)