Drawing lines in raster cells (in R), with application to species distribution mapping

I guess we all had this demand from one of our tutor saying: “look at this nice output a previous intern did, well I’d like you to do the same”.
In my case the previous intern was using a different software so I had to find a way to implement it…
The task was to draw lines on maps representing the area where certain species are distributed and to change the angle of the lines for different times.
Here is one way to do this in R:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s