# NOT RUN {
## Example of kmeans and hierarchical clustering
library(specmine.datasets)
data(cachexia)
hc.result = clustering(cachexia, method = "hc",
distance = "euclidean")
kmeans.result = clustering(cachexia, method = "kmeans",
num.clusters = 4)
# }
Run the code above in your browser using DataLab