search for: floodmap

Displaying 1 result from an estimated 1 matches for "floodmap".

Did you mean: floodmaps
2013 Jan 27
1
lapply and SpatialGridDataFrame error
...el = FALSE)) layers <- paste0("examples/floodlayers_", 1:54) polyshapes <- lapply(writePolyShape(maxdepth.plys, layers)) shpName <- sub(pattern="(.*)\\.dbf", replacement="\\1", x=system.file("examples/Flood/layer_.dbf", package="BayesX")) floodmaps <- lapply(shp2bnd(shpname=shpName, regionnames="SP_ID")) ## draw the map drawmap(map=floodmaps) This is the error message that I receive: > maxdepth.plys <- lapply(modeldepthsmore, Grid2Polygons(modeldepthsmore, level = FALSE)) Error in Grid2Polygons(modeldepthsmore, level =...