# NOT RUN {
#library(comat)
data(raster_x, package = "comat")
com = get_coma(raster_x)
com
com2 = get_coma(raster_x, classes = c(1, 3))
com2
data(raster_x_na, package = "comat")
com3 = get_coma(raster_x_na, classes = c(0:3, NA))
com3
# }
Run the code above in your browser using DataCamp Workspace