Displaying 1 result from an estimated 1 matches for "landmask".
Did you mean:
landmark
2015 Sep 29
1
Error possibly related with environments/namespace
...to FALSE I get no error.
Here's the code:
#Loading packages
library(MetaLandSim)
library(rgrass7)
#Loading required data
data(rg_exp)
#Loading required maps
presences <- system.file("examples/presences.asc", package="MetaLandSim")
mask <- system.file("examples/landmask.asc", package="MetaLandSim")
#Start GRASS using rgrass7
initGRASS("C:/Program Files (x86)/GRASS GIS 7.0.0", home=tempdir())
#Running function
range.map <- range_raster(presences.map=presences, re.out=rg_exp,
mask.map=mask,plot.directions=TRUE)
Cheers,
Frederico Mest...