powered by
This function builds an SBP matrix from an hclust object as produced by the hclust function.
hclust
sbp.fromHclust(hclust)
An hclust object.
An SBP matrix.
# NOT RUN { library(balance) data(cars) h <- hclust(dist(cars)) sbp.fromHclust(h) # }
Run the code above in your browser using DataLab