Learn R Programming

expirest (version 0.1.6)

get_n_list_levels: Determine the level of nesting of a list

Description

The function get_n_list_levels() determines the number of levels of a nested list.

Usage

get_n_list_levels(x)

Value

An integer representing the number of levels of the list. If an object is passed on to x that is not a list 0 is returned.

Arguments

x

A list.

Details

The function get_n_list_levels() determines the number of levels of a (nested) list.

See Also

extract_from_ll_wcsl, extract_wc_x, get_wisle_poi_list.