minosse.poly | R Documentation |
This function turns minosse
geographic range raster map into a spatial polygon with the related surface area.
minosse.poly(minosse_res, th_num=3)
minosse_res |
the output of |
th_num |
Numeric. The Regression Kriging prediction map binarization threshold value index as reported in the |
The target species geographic range as a SpatialPolygonsDataFrame object.
Francesco Carotenuto, francesco.carotenuto@unina.it
## Not run:
library(raster)
data(lgm)
raster(system.file("exdata/prediction_ground.gri", package="EcoPast"))->prediction_ground
minosse_dat<-minosse.data(obj=lgm,species_name="Mammuthus_primigenius",
domain="land",time.overlap=0.95,coc.by="locality",min.occs=3,abiotic.covs=NULL,
combine.covs=FALSE,reduce_covs_by="pca",covs_th=0.95,c.size="mean",
bkg.predictors="presence",min.bkg=100,sampling.by.distance=TRUE,
crop.by.mcp=FALSE,constrain.predictors=FALSE,temporal.tolerance=NULL,
prediction.ground=prediction_ground,projection="laea",lon_0=85,lat_0=45,
n.clusters=NULL,seed=625)
minosse_res<-minosse.target(resp=minosse_dat[[1]],predictors=minosse_dat[[2]],
bkg="presence", min.bkg = 100,n.sims=10,sampling.by.distance=TRUE,n.folds=1,
n.sims.clusters=NULL,seed=625)
minosse.poly(minosse_res)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.