Count number of levels from a data.frame/table, list, or SpatRaster
Source:R/nlevels.r
dot-nlevels.Rd
Counts number of levels in a character string (specifically, the empty string ""
), a data.frame
, data.table
, or list of data.frame
s or data.table
s or empty strings.