convertListOfVectorsToDataFrame: Convert List of Vectors to data.frame

Description Usage Arguments Value Examples

Description

Convert List of Vectors to data.frame

Usage

1
2
convertListOfVectorsToDataFrame(lst, colNames = NULL,
  collapseDelimiter = NULL)

Arguments

lst

a list

colNames

an optional vector of column names for the resulting data.frame

collapseDelimiter

a delimiter to collapse the vector; optional

Value

a data.frame

Examples

1
2
lov <- list(v1=c("a", "b"), v2=c("a", "c"), v3=c("a"))
convertListOfVectorsToDataFrame(lov)

cannin/listutils documentation built on May 24, 2019, 9:53 a.m.