Creates a 3D data cube view of a RasterStack/Brick, typically a collection/array of RasterLayers (along z-axis) with the same geographical extent (x and y dimensions) and resolution, provided by package 'raster'. Slices through each dimension (x/y/z), freely adjustable in location, are mapped to the visible sides of the cube. The cube can be freely rotated. Zooming and panning can be used to focus on different areas of the cube.
cubeview enables interactive 3D exploration of raster data cubes.
You can install the released version of cubeview from CRAN with:
install.packages("cubeview")
library(terra)
kili_data <- system.file("extdata", "kiliNDVI.tif", package = "cubeview")
kiliNDVI <- rast(kili_data)
cubeview(kiliNDVI)

Please note that the ‘cubeview’ project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.