cl_nlevels: Get the number of hierarchical levels in a code list

View source: R/cl_nlevels.R

cl_nlevelsR Documentation

Get the number of hierarchical levels in a code list

Description

Get the number of hierarchical levels in a code list

Usage

cl_nlevels(codelist)

Arguments

codelist

the codelist for which to determine the number of levels.

Value

A single integer value (>= 1) with the number of levels.


codelist documentation built on April 12, 2025, 2:25 a.m.