list.depth: Count the Depth of a List Object

Description Usage Arguments Note Author(s)

Description

This function recursively computes the depth of a list object. That is, it determines how many layers or levels exist within the object.

Usage

1
  list.depth(obj)

Arguments

obj

a vector or list object

Note

This function is used internally by Zelig.

Author(s)

Matt Owen mowen@iq.harvard.edu


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.