python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Error in .rect_dendrogram(dend, k = k, palette = rect_border, rect_fill = rect_fill, : k must be between 2 and 97
I am trying to estimate a cluster dendrogram in R for a structural topic model I produced with 98 topics.
I first ran the following which worked well:
res.hc <- eclust(scale(out_corr$cor), "hc...
md_14
Votes: 0
Answers: 1
Ordering colors on colored bar for dendrogram in R
The vignette for the R package dendextend (https://cran.r-project.org/web/packages/dendextend/vignettes/dendextend.html) gives an example of using the colored_bars function with cutreeDynamic from pac...
panda
Votes: 0
Answers: 1
Problem with margins using plot function with as.dendrogram object
I'm trying to customize a clustering plot using both base R functions and the package "dendextend". Firstly I generate a cluster with the common hclust() function. Then I'm using "dende...
Vitorleo.ar
Votes: 0
Answers: 1