@Ben Bolker, what would be the difference if landcover is discrete (eg 5 landcover categories)? Thank you. Cheers.