Analysing spatial patterns of the landscape

[This article was first published on R | XP, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

In landscape ecology, we study interactions between organisms and their surrounding environment. The physical landscape is often quantified using “landscape metrics”, for further analyses alongside other sources of data.

My recent lectures are focused on introducing such concepts to landscape architects. While I’ve used FRAGSTATS and other GIS software for teaching in the past, I’ve always struggled with compatibility/licensing issues that just made the whole process really cumbersome.

Recently, I came across this R package called landscapemetrics. I was absolutely blown away by the sheer power of this thing. I’ve always wanted to introduce people to spatial analysis in R, and to show how a seamless, reproducible workflow in R can be an excellent alternative to conventional software. This was the tipping point for me… I decided to give it a shot!

This post provides a quick preview of the workshop content. The workshop is meant to be a follow-up lesson to the Introduction to R series I’ll be conducting next semester.

Workshop outline:

  1. Why analyse spatial patterns?

  2. Landscape ecology: Conceptual models

  3. Land cover classification

  4. Landscape metrics

I’ve uploaded the slides and data on Github, so that anyone interested to try out the analysis for themselves will be able to do so. If you’re interested in geospatial analysis, check it out!

Slide deck:

This post is also shared on

To leave a comment for the author, please follow the link and comment on their blog: R | XP. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)