Create a data frame from a single layer [raster::RasterLayer()]. This is

tabit(x, na.rm = TRUE)

Arguments

x

RasterLayer

na.rm

remove missing values