I'm working with a raster stack of 300 SGS, sims
, and a raster layer, trend
. I'm trying to sum trend
to each of the raster layers in the stack. My end goal is to have a new raster stack of my simulations with the trend map so that I can then preform other operations.
what i was looking for would be something like:
sims1 <- sims + trend
so that each layer would be somewhat like this:
>names(sims1)
[1] "sim1+trend" "sim2+trend" "sim3+trend" "sim4+trend"...