powered by
This function is used by summary.prodlim to deal with results.
List2Matrix(list, depth, names)
Matrix or data.frame.
A named list which contains nested lists
The depth in the list hierarchy until an rbindable object
Names for the list variables
Thomas A. Gerds <tag@biostat.ku.dk>
Reduction is done with rbind.
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")
Run the code above in your browser using DataLab