Description Usage Arguments Details Value See Also Examples
This function allows reduce environmental data clipping by mask or buffer area
1 | reduce.env(env, transfer = NULL, var.rm, mask)
|
env |
RasterStack* objet. |
transfer |
List of RasterStack object |
var.rm |
A data.frame of occurrence records. It must include two column based on latitude and longitude. |
mask |
Cropped mask, must be shapefile (.shp), readOGR. |
Reduce the correlation among predicted variables either buffer zone, or clipping mask.
Provide reduce objet with cut predicted variables and data.frame for the values of each point of occurrence of them.
@crop
RasterStack* Objet
@m.env
data.frame of environmental values to occurrence localities.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Phytotoma ocurrence data
data(phytotoma)
# Complement
library(dismo)
predictor <- stack(list.files(path=paste(system.file(package="dismo"),'/ex', sep=''),
pattern='grd', full.names=TRUE ))
maskM <- stim.M(phytotoma[,2:3], 131)
vrn <- extract(predictor, phytotoma[,2:3])
# Correlogram s
rd <- c('bio1','bio12','biome')
cor.show(vrn, remove=TRUE, var.rm=rd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.