l2m: Transform a list of lists... to a matrix
Description
When using lapply or sapply to avoid
explicit loops, one often ends up with complex structures
represening lists of lists of lists... Function
l2m tries to transform such a structure into a
matrix with a column for each distinct name in the list.Value
- A matrix with a column for each distinct name in the list