list_depth | R Documentation |
Function to find the level of list nesting
list_depth(List)
List |
an object of class 'list'. |
an integer; level of list nesting
Kasia Sawicka
a <- list(1,2)
list_depth(a)
a <- list(list(1, 2), 3)
list_depth(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.