(CC-BY-NC-SA)

This document was produced on So Jun 12 2016 using mapview version 1.1.0


slideView

slideView() can be used with RasterLayer and RasterStack/Brick in which case RGB layers are assumed

library(mapview)
library(raster)

stck1 <- subset(poppendorf, c(3, 4, 5))
stck2 <- subset(poppendorf, c(2, 3, 4))
slideView(stck1, stck2)