I am checking a little about affinity propagation (apart from the packages that exist and are very useful).
After various calculations I concluded into 4 certain exemplars for a certain pair of values that are like df[1:10, ]:
X3.115997 X1.873875
1 4.446356 2.931754
2 4.071908 2.810298
3 4.512401 2.505570
4 3.793507 3.615971
5 4.141959 3.362119
6 3.656110 3.248274
7 4.194451 2.346595
8 3.775412 2.823766
9 3.724534 2.931452
10 4.040321 3.414879
What I would like to do, is to cluster all the values of df into 4 certain values that will work as exemplars.