List2Matrix: Reduce list to a matrix or data.frame with names as new...

Description Usage Arguments Details Value Author(s) Examples

View source: R/List2Matrix.R

Description

This function is used by summary.prodlim to deal with results.

Usage

1

Arguments

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

Details

Reduction is done with rbind.

Value

Matrix or data.frame.

Author(s)

Thomas A. Gerds <tag@biostat.ku.dk>

Examples

1
2
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")

prodlim documentation built on Nov. 17, 2019, 5:06 p.m.

Related to List2Matrix in prodlim...