.insp1dimByClustering {wrMisc} | R Documentation |
Segment (1-dim vector) 'dat' into clusters
Description
This function allows aegmenting (1-dim vector) 'dat' into clusters. If 'automClu=TRUE ..' first try automatic clustering, if too few clusters, run km with length(dat)^0.3 clusters This function requires the package NbClust to be installed.
Usage
.insp1dimByClustering(
dat,
automClu = TRUE,
cluChar = TRUE,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
Arguments
dat |
matrix or data.frame, main input |
automClu |
(logical) run atomatic clustering |
cluChar |
(logical) to display cluster characteristics |
silent |
(logical) suppress messages |
debug |
(logical) additional messages for debugging |
callFrom |
(character) allow easier tracking of messages produced |
Value
This function returns clustering (class index) or (if 'cluChar'=TRUE) list with clustering and cluster-characteristics
See Also
Examples
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
[Package wrMisc version 1.15.1 Index]