R: Coerce a list to a data.frame

data.sheet {IDPmisc} | R Documentation

## Coerce a list to a data.frame

### Description

Coerces a list with vectors of different length into a data.frame. Fills the shorter vectors with NA.

### Usage

    data.sheet(x)

### Arguments

`x` | List to be converted.

### Details

This function is convenient for comparing / controling data in Lists whose components should have approximately the same length.

### Value

data.frame

### Author(s)

Thomas Unternaehrer

### Examples

    data.sheet(list(a=1:5,b=1:4))

[Package IDPmisc version 1.1.20 Index]