dot-nlevels: Count number of levels from a data.frame/table, list, or...

.nlevelsR Documentation

Count number of levels from a data.frame/table, list, or SpatRaster

Description

Counts number of levels in a character string (specifically, the empty string ""), a data.frame, data.table, or list of data.frames or data.tables or empty strings.

Usage

.nlevels(x)

Arguments

x

A GRaster, SpatRaster, or a data.frame, data.table, an empty string, or a list thereof.


adamlilith/fasterRaster documentation built on Oct. 26, 2024, 4:06 p.m.