Hi I would like to implement the "Earth Movers Distance" into R and found the code in C on the following page:
http://www.cs.duke.edu/~tomasi/software/emd.htm Unfortunately, I don't know much (nearly nothing) about C and how to call it from R. As far as I have seen, the calling of the code from R should be rather straight forward, but there are still several things I don't understand. Could somebody please help me in calling the code from R? Thanks, Rainer P.S: if the code works nicely, I would like to either put it into a package or add it to one. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Faculty of Science Natural Sciences Building Private Bag X1 University of Stellenbosch Matieland 7602 South Africa ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.