Distance-multispeciesProblems when subsetting datasets, resolved with use of region.table and sample.table