nsh87 / receptormarker

Source for 'receptormarker' package for R: antibody receptor and phenotypic marker analysis
http://receptormarker.com
BSD 2-Clause "Simplified" License
4 stars 9 forks source link

Unable to pass additional arguments to kmeans() in multi_clust() #32

Closed nsh87 closed 9 years ago

nsh87 commented 9 years ago

The function is defined by

multi_clust <- function(d, krange = 2:10, iter.max = 300, runs = 10, method = "kmeans", ...)

but the ellipsis isn't included in the call to kmeans:

kmm <- stats::kmeans(d, k, iter.max = iter.max, nstart = 10)

Docs say ... Further arguments to be passed to kmeans.