todataframe_by_list: convert a list into a data.frame

View source: R/utils.R

todataframe_by_listR Documentation

convert a list into a data.frame

Description

convert list (a list with equal length of each element) into a data.frame

Usage

todataframe_by_list(list)

Arguments

list

a list with equal length of its each element

Value

data.frame

Examples

todataframe_by_list(list(num = c(1:10), cat = c(rep("A", 5), rep("B", 5))))


zzwch/crosslink documentation built on Aug. 27, 2023, 5:57 p.m.