AFINCH Mapper R Script

This is the script to calculate the statistics needed by the AFINCH mapper. It should get deployed with the watersmart WPS.