## Not run:
# fd<-system.file(package="biogeo")
# foldenv<-file.path(fd,"inst","extdata", fsep = .Platform$file.sep)
# ev<-env2stack(foldenv, vars = "", fext="bil")
# dem<-raster(dem,xmn=-180, xmx=180, ymn=-60, ymx=90)
# plotsetup(6,6)
# g1="Species U"
# vars=c("bio1","bio12")
# d5<-alternativesenv(edat,g1,group1="Species",ev,vars,world,
# xname="Annual Mean Temperature",yname="Annual Precipitation",
# dem,locality="LocalityName",ext="p")## End(Not run)
Run the code above in your browser using DataLab