cran/biganalytics — pull request #1 by akiniwa (2014-12-10 14:14:15+00:00)
Title: Kmeans cosine distance

```R
# Default distance is Euclid.
bigkmeans(x, centers, iter.max = 10, nstart = 1)
bigkmeans(x, centers, iter.max = 10, nstart = 1, dist="euclid")

# Cosine distance.
bigkmeans(x, centers, iter.max = 10, nstart = 1, dist="cosine")
```