I have done the following in QGIS: I used the integrated k-means clustering tool to cluster around 160k data points into 50 clusters. Using the mean coordinate tool (Vector analysis > Mean coordinates) I found the center point of each cluster.
I now want to find the overall mean distance from all points in a respective cluster to the center point of that cluster; so in the end, I want 50 mean distances, one for each cluster. I currently have these two-point sets (clusters and center points) saved as two separate shapefiles.
How do I do this?