errorcheck(world, dem, dat, countries="", countryfield="NAME",
vars=c("bio1", "bio12", "bio5", "bio6"), res=10,elevc="",diff=50)
## Not run:
# dem<-raster(dem,xmn=-180, xmx=180, ymn=-60, ymx=90)
# d8 <- errorcheck(world, dem, dat=edat, countries="Country", countryfield="NAME",
# vars=c("bio1", "bio12", "bio5", "bio6"), res=10,elevc="elev",diff=50)
# ## End(Not run)
Run the code above in your browser using DataLab