Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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

'Utilities of Institute of Data Analyses and Process Design (www.zhaw.ch/idp)'

v1.1.20
GPL (>= 3)
Authors
Rene Locher [aut, cre], Andreas Ruckstuhl [ctb]
Initial release
2020-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.