list.depth {Zelig}R Documentation

Count the Depth of a List Object

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

  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


[Package Zelig version 4.2-1 Index]