Apply classification method dependent on init.method
mkInitClass(n.g, n.i, n.j, control, y)
Number of clusters
Number of observations
Number of columns
Classification settings from init.options()
Observations
classification vector
data("faithful")
mkInitClass(2, nrow(faithful), ncol(faithful), init.options(), faithful)
#> [1] 1 2 1 2 1 2 1 1 2 1 2 1 1 2 1 2 2 1 2 1 2 2 1 2 1 1 2 1 1 1 1 1 1 1 1 2 2
#> [38] 1 2 1 1 2 1 2 1 1 1 2 1 2 1 1 2 1 2 1 1 2 1 1 2 1 2 1 2 1 1 1 2 1 1 2 1 1
#> [75] 2 1 2 1 1 1 1 1 1 2 1 1 1 1 2 1 2 1 2 1 2 1 1 1 2 1 2 1 2 1 1 2 1 2 1 1 1
#> [112] 2 1 1 2 1 2 1 2 1 2 1 1 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 1 2 1 1 1 2 1 2
#> [149] 1 2 1 1 2 1 1 1 1 1 2 1 2 1 2 1 1 1 2 1 2 1 2 2 1 1 1 1 1 2 1 1 2 1 1 1 2
#> [186] 1 1 2 1 2 1 2 1 1 1 1 1 1 2 1 2 1 1 2 1 2 1 1 2 1 2 1 2 1 1 1 2 1 2 1 2 1
#> [223] 2 1 1 1 1 1 1 1 1 2 1 2 1 2 2 1 1 2 1 2 1 1 1 1 2 1 2 1 2 1 1 1 1 1 1 1 2
#> [260] 1 1 1 2 1 2 2 1 1 2 1 2 1