Learn R Programming

Zelig (version 4.1-1)

NextFrame: Get Next data.frame from an mi Object

Description

Generate the next data.frame. This function removes the necessity for Zelig to depend on the iterators package.

Usage

NextFrame(obj, as.pair = FALSE)

Arguments

obj
an mi object
as.pair
a boolean specifying whether to return the data.frame as a list pairing the label and the data object

Value

  • the next data.frame or NULL (if all data.frames have been generated). If as.pair is set to TRUE, then a list will be returned, specifying the data.frame's label as ``label'' and the data.frame as ``data''