How to find similar density curves in R?

by Piotr Z   Last Updated September 26, 2018 15:26 PM

I've dataset with player game by game performance rating and my goal is to group them based on density curves. Below there is plot with density curves of five random players. We can see that red and purple density curves are similar, but is there any metric or function in R which would help me to group those curves when there're let's say 50 of them on the plot? I want to group them on at least 3-4 groups, for example first group would be mentioned red and purple lines which represents players with more good games than bad games.


Tags : r density-plot

Related Questions

Find the density peak of GPS coordinates

Updated August 09, 2016 08:12 AM

ggplot2 density-plot with discrete data

Updated December 17, 2017 18:26 PM

geom_desnity Error in R

Updated January 11, 2018 16:26 PM