Skip to main content
12 events
when toggle format what by license comment
Mar 27, 2020 at 17:00 history edited MarujoRe CC BY-SA 4.0
added 8 characters in body
Mar 27, 2020 at 16:56 vote accept jimyeti
Mar 27, 2020 at 16:54 comment added jimyeti Yep, works now! Thank you @humperderp
Mar 27, 2020 at 14:15 comment added humperderp Does running raster::intersect(slope,soil)) solve the issue? This specifies that intersect from the raster package is to be used, in case other packages with functions of the same name is masking the one you want to use.
Mar 27, 2020 at 13:32 comment added jimyeti Hi @MarujoRe thanks for your help! When I run your code on my R it throws me an error at the step to create blank raster to populate: unable to find an inherited method for function ‘raster’ for signature ‘"integer"’. Not sure why?
Mar 26, 2020 at 20:52 comment added MarujoRe @Spacedman Yes, sorry. I believe I fixed it.
Mar 26, 2020 at 20:52 history edited MarujoRe CC BY-SA 4.0
added 361 characters in body
Mar 26, 2020 at 19:46 comment added Spacedman This will only work if the rasters overlap perfectly, which they don't when you look at the description in the question.
Mar 26, 2020 at 19:38 history edited MarujoRe CC BY-SA 4.0
added 324 characters in body
Mar 26, 2020 at 19:34 history undeleted MarujoRe
Mar 26, 2020 at 19:33 history deleted MarujoRe via Vote
Mar 26, 2020 at 19:32 history answered MarujoRe CC BY-SA 4.0