#The example.database3 synthetic database is loaded
data(example.database3)
tsdata <- example.database3[[1]]
groundt <- example.database3[[2]]
#Apply K-medoids clusterning for different distance measures
k.medoids(data=tsdata, ground.truth=groundt, k=5, "euclidean")
k.medoids(data=tsdata, ground.truth=groundt, k=5, "cid")
k.medoids(data=tsdata, ground.truth=groundt, k=5, "pdc")Run the code above in your browser using DataLab