data.sheet: Coerce a list to a data.frame

View source: R/data.sheet.R

data.sheetR 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))

IDPmisc documentation built on May 29, 2024, 2:48 a.m.