Learn R Programming

XML2R (version 0.0.6)

collapse_obs: Collapse a list of observations into a list of tables.

Description

This function aggregates all observations with a similar name into a common table. Note that observations with a particular name don't need consistent variables (any missing information is filled with NAs).

Usage

collapse_obs(obs)

Arguments

obs
list of observations.

Value

Returns list with one element for each relevant XML node. Each element contains a matrix.