unique.circular: Extract Unique Elements from a circular vector

Description Usage Arguments Details Value See Also Examples

Description

unique.circular returns a circular vector but with duplicate elements removed.

Usage

1
2
## S3 method for class 'circular'
unique(x, ...)

Arguments

x

a vector or a data frame or an array or NULL.

...

parameters passed to unique.default

Details

This is a method for circular object. See the documentation of unique.

Value

An object of the same type of x, but if an element is equal to one with a smaller index, it is removed.

See Also

unique

Examples

1
2
x <- rvonmises(10, circular(0), 10)
unique(x)

circular documentation built on May 2, 2019, 4:42 p.m.