I have a movement model in R that I would like to adapt to incorporate landscape resistance to movement. I\'m looking for a way to make a raster surface of least cost values