File: kmeans_circular.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\name{kmeans_circular}
\alias{kmeans_circular}
\docType{methods}
\title{K-Means Clustering for Points on Circle}
\description{
    Perform k-means clustering on angular data (in degrees).
}
\usage{
    kmeans_circular( x, centers, iter.max = 10 )
}
\arguments{
    \item{x}{data vector}
    \item{centers}{vector of initial centers (in degrees)}
    \item{iter.max}{maximum number of iterations}
}
\value{
    Vector of the same length as \emph{centers} defining cluster centers (in degrees).
}
\author{Andrius Merkys}