dcluspar.Rd
A deterministic clustering device of vector elements into k clusters
dcluspar(k, vec)
k | number of clusters |
---|---|
vec | the vector of real valued elements |
clus integer assignment of corresponding elements in vec in up to k clusters
#> [1] 0.79392267 3.06621014 2.95987412 -0.44845727 0.09242459 -0.56518784 #> [7] 3.35397736dcluspar(k=2,vec = v)#> [1] 1 2 2 1 1 1 2