IDPmisc (version 1.1.20)

data.sheet: 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)

Value

data.frame

Arguments

x

List to be converted.

Author

Thomas Unternaehrer

Details

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

Examples

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

Run the code above in your browser using DataCamp Workspace