.insp1dimByClustering | R Documentation |
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.
.insp1dimByClustering(
dat,
automClu = TRUE,
cluChar = TRUE,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
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 |
This function returns clustering (class index) or (if 'cluChar'=TRUE) list with clustering and cluster-characteristics
searchLinesAtGivenSlope
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.