There are some R packages, some fast examples (with your data): x1.circ <- circular::circular(x1, units="hours", template="clock24") These two vectors represent the times of day, rounded to the nearest hour, that an individual ant from a particular species was observed under two different temperature treatments. I am not too familiar with circular statistics, so it would also be very helpful for me to get a brief explanation of how the calculation of EMD differs for circular distributions versus scale data. My data are time points on a 24-hour clock under different treatments. I am interested in finding an implementation (preferably in R but not necessary) to calculate earth mover's distance between two empirical distributions of circular data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |