I'm trying to combine bioclim raster layers to create the following layer.
(Q) = AnnPrec/[(Tmax+Tmin)*(Tmax-Tmin)]*1000
For that, I import a bioclim stack:
envirc = stack("C:/Users/Agus/Dropbox/wiens SL paper/clime.grd")
you can get the stack here: https://www.dropbox.com/sh/n8qfu9cmuowondp/AADcFHTnCqhhoYA43UeckVS-a?dl=0
separate specific layers
AnnPrec=subset( envirc,"bio12") Tmax=subset( envirc,"bio5") Tmin=subset( envirc,"bio6")
I could use overlay function , but this seems to work
but now, this operation leads me to a constant value, which is incorrect, it # should be a range of values
using overlay function gives me the same value
What I'm doing wrong?