View source: R/convertListOfRowsToDataFrame.R
convertListOfRowsToDataFrame | R Documentation |
Elements are arranged in columns according to their name in each
element of rows
.
Variables that are not present in some row-lists, or encoded as NULL
, are filled using NAs.
convertListOfRowsToDataFrame( rows, strings.as.factors = NULL, row.names, col.names )
rows |
[ |
strings.as.factors |
[ |
row.names |
[ |
col.names |
[ |
[data.frame
].
convertListOfRowsToDataFrame(list(list(x = 1, y = "a"), list(x = 2, y = "b")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.