IDPmisc (version 1.1.19)

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)

Arguments

x

List to be converted.

Value

data.frame

Details

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

Examples

Run this code
# NOT RUN {
data.sheet(list(a=1:5,b=1:4))
# }

Run the code above in your browser using DataLab