Description Usage Arguments Value Author(s) Examples
View source: R/remove.NAs.stack.R
The function removes unpaired NA cells from a RasterStack.
1 | remove.NAs.stack(rast.stack)
|
rast.stack |
a |
a RasterStack
object without unpaired NA cells
Mirko Di Febbraro
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
library(raster)
raster(system.file("exdata/prediction_ground_thinned.gri",
package="DeepTime"))->prediction_ground_thinned
raster(system.file("exdata/prediction_ground.gri", package="DeepTime"))->prediction_ground
s1<-stack(prediction_ground, prediction_ground_thinned)
raster.leaflet.plot(s1)
summary(rasterToPoints(s1))
s2<-remove.NAs.stack(s1)
summary(rasterToPoints(s2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.