File: unique.circular.Rd

package info (click to toggle)
r-cran-circular 0.5-1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,492 kB
  • sloc: ansic: 464; fortran: 69; sh: 13; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
\name{unique.circular}
\alias{unique.circular}
\title{Extract Unique Elements from a circular vector}
\description{
  \code{unique.circular} returns a circular vector but with duplicate  elements removed.
}
\usage{
\method{unique}{circular}(x, \dots)
}

\arguments{
 \item{x}{a vector or a data frame or an array or \code{NULL}.}
 \item{\dots}{parameters passed to \code{\link{unique.default}}}
}
\details{
  This is a method for \code{circular} object. See the documentation of \code{\link{unique}}.
}

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

\seealso{
  \code{\link{unique}} 
}

\examples{

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

}

\keyword{manip}
\keyword{logic}