# NOT RUN {
data(leroydbbmm)
data(dbbmmstack)
data(leroydbgb)
getVolumeUD(leroydbbmm) # for a DBBMM object
getVolumeUD(dbbmmstack) # for a DBBMMStack object
getVolumeUD(leroydbgb) # for a dynBGB object
getVolumeUD(leroydbbmm, leroydbgb) # for several objects
plot(getVolumeUD(leroydbbmm))
## e.g. select the raster corresponding to the 95% UD
leroyUD <- getVolumeUD(leroydbbmm)
leroyUD[leroyUD>0.95] <- NA
plot(leroyUD)
# }
Run the code above in your browser using DataLab