data_list: Constructor for a data list

Description Usage Arguments Value Examples

View source: R/data_list.R

Description

Constructor for a list of data, a thin wrapper around list() which checks that all the inputs are of the same type and have names

Usage

1

Arguments

...

objects, must all be named

Value

a list of named data

Examples

1
2
3
4
5
data(iris)
flist <- data_list(
    data1 = iris[1:20, ],
    data2 = iris[21:40, ]
)

CellBench documentation built on Nov. 8, 2020, 5:11 p.m.