STM-Analyzes STM analyzes with R functions applied to structured landscape: States boundaries and patchiness