I am trying to optimise the k parameter using AdehabitatHR LoCoH.k.area
and it stops running when the topology is such that it can't produce a polygon. Message is:
rgeos_PolyCreateComment: orphaned hole, cannot find containing polygon for hole at index 12.
I have done a number of successful single runs using LoCoH.k with only a few not running due to orphan holes.
Is it possible to keep LoCoH.k.area
looping through the k values specified in the vector even if the one prior produces an orphan hole?
Thanks, Janine