kmeansp3: kmeans+++. You can specify some centers meaningly and others...

Description Usage Arguments

Description

kmeans+++. You can specify some centers meaningly and others randomly based on the method of kmeans++.

Usage

1
2
kmeansp3(x, k = 2, centers_manual = NULL, scale = TRUE,
  iter.max = 1000, nstart = 1, algorithm = "Lloyd")

Arguments

x

input data

k

number of clusters

centers_manual

partial or all selection of initial centers

scale

TRUE or FALSE to scale x

iter.max

the maximum number of iterations allowed.

nstart

if centers is a number, how many random sets should be chosen?

algorithm

default to Lloyd


atusy/mytools documentation built on May 9, 2019, 12:51 p.m.