Description Usage Arguments Value Author(s) Examples
This fxn accepts a list and transform it to a matrix if possible missing entries will be filled with NA in the returned dataframe
1 | list2matrix(x)
|
x |
a list of vectors |
a data frame
guangchun
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.