remove_branches_edgePar: Remove all edgePar values from a dendrogram's branches

View source: R/attr_access.R

remove_branches_edgeParR Documentation

Remove all edgePar values from a dendrogram's branches

Description

Go through the dendrogram branches and remove its edgePar.

Usage

remove_branches_edgePar(dend, ...)

Arguments

dend

a dendrogram object

...

not used

Value

A dendrogram, after removing the edgePar attribute in all of its branches,

See Also

get_root_branches_attr, assign_values_to_branches_edgePar

Examples


## Not run: 

dend <- USArrests[1:5, ] %>%
  dist() %>%
  hclust() %>%
  as.dendrogram()
dend <- color_branches(dend, 3)
par(mfrow = c(1, 2))
plot(dend)
plot(remove_branches_edgePar(dend))

## End(Not run)


dendextend documentation built on Oct. 13, 2024, 1:06 a.m.