munlist | R Documentation |
unlists a list of vectors, matrices, data frames into a n x k matrix whose first column specifies the list item index of the entry and second column specifies the sublist item index of the entry and the remaining columns specifies the value(s) of the vector or matrices.
force.cbind = T will force concatenation via 'cbind' force.rbind = T will force concatenation via 'rbind'
munlist(x, force.rbind = F, force.cbind = F, force.list = F)
x |
list of vectors, matrices, or data frames |
force.rbind |
logical flag to force concatenation via rbind (=FALSE), otherwise will guess |
force.cbind |
logical flag to force concatenation via cbind (=FALSE), otherwise will guess |
force.list |
logical flag to force concatenation via unlist (=FALSE), otherwise will guess |
data.frame of concatenated input data with additional fields $ix and $iix specifying the list item and within-list index from which the given row originated from
Marcin Imielinski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.