list2matrix: A list to matrix transform function

Description Usage Arguments Value Author(s) Examples

View source: R/list2matrix.R

Description

This fxn accepts a list and transform it to a matrix if possible missing entries will be filled with NA in the returned dataframe

Usage

1

Arguments

x

a list of vectors

Value

a data frame

Author(s)

guangchun

Examples

1
2
3
4
tmp <- list(x=c(2,8,6,4,3),
            b=c(6,33,5,64,85,90),
            d=c('ks','foo','bar'))
list2matrix(tmp)

htc502/ewrefxn documentation built on Feb. 2, 2020, 9:14 a.m.