Skip to main content

All Questions

2 votes
1 answer
126 views

TraMineR, how to retrive the clustering score

I've only been using R for a short time. I use R 3.4.4. For a study I created clusters as follows: library('cluster') clusterward2 <- agnes(dist.om2, diss = TRUE, method = "ward") plot(...
Silvia Federzoni's user avatar
1 vote
0 answers
498 views

Weighted Cluster Analysis in R — generating more clusters than requested with hclust

I'm trying to conduct a hierarchical agglomerative cluster analysis in R by using the Weighted Cluster package. Before doing so, I calculated the distances between state sequences by leveraging the ...
J_Hol's user avatar
  • 43
0 votes
1 answer
204 views

Naming of clusters and labelling in TramineR

I am trying to do clustering of the following sequences. Unfortunately when I plot the clustering I am not able to find a way to label the states. For example instead of A, B, C,D, I want to label ...
user3570187's user avatar
  • 1,763
3 votes
1 answer
1k views

Find number of clusters using distance matrix with hierarchical clustering

How do I determine the optimal number of clusters while using hierarchical clustering. If I am just having the distance matrix as I am measuring only pairwise distances (levenshtein distances), how do ...
user3570187's user avatar
  • 1,763