Displaying 2 results from an estimated 2 matches for "mkdend".
Did you mean:
midend
2017 Mar 05
2
Please add me to bugzilla
Please add me to R bugzilla.
Thanks,
Bradley
[[alternative HTML version deleted]]
2017 Mar 06
1
Please add me to bugzilla
...I have been using R for like forever (20 years).
In my current project, I have run into problems with stack overflows in R's
dendrogram code when trying to use either str() or as.hclust() on very deep
dendrograms.
To duplicate, use this function from tests/reg-tests-1c.R in the R source
code:
mkDend <- function(n, lab, method = "complete",
## gives *ties* often:
rGen = function(n) 1+round(16*abs(rnorm(n)))) {
stopifnot(is.numeric(n), length(n) == 1, n >= 1, is.character(lab))
a <- matrix(rGen(n*n), n, n)
colnames(a) <- row...