# \donttest{
#Load the correlation matrix Bechtoldt from the psych
#package (see ?Bechtoldt for more information).
if (requireNamespace("psych", quietly = TRUE)) {
data("Bechtoldt", package = "psych")
}
#Compute HC-SVD (with average linkage).
hcsvd.obj <- hcsvd(Bechtoldt)
#Check the ultrametric property
is.ultrametric(hcsvd.obj)
# }
Run the code above in your browser using DataLab