List2Matrix | R Documentation |
This function is used by summary.prodlim to deal with results.
List2Matrix(list, depth, names)
list |
A named list which contains nested lists |
depth |
The depth in the list hierarchy until an rbindable object |
names |
Names for the list variables |
Reduction is done with rbind.
Matrix or data.frame.
Thomas A. Gerds <tag@biostat.ku.dk>
x=list(a=data.frame(u=1,b=2,c=3),b=data.frame(u=3,b=4,c=6))
List2Matrix(x,depth=1,"X")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.