list2data.frame: List Convert to dataframe

list2data.frame_cbindR Documentation

List Convert to dataframe

Description

Function to convert a list into a dataframe. For list of different lengths, the data frame is constructed according to the longest list, and for short lists, the missing places are filled with NA according to the long list. list2data.frame_cbind makes each element of the list a column. list2data.frame_rbind makes each element of the list a row.

Usage

list2data.frame_cbind(list)

list2data.frame_rbind(list)

Arguments

list

list to be converted to a data frame


indenkun/infun documentation built on April 17, 2025, 2:52 p.m.