data_list: Constructor for a data list

View source: R/data_list.R

data_listR Documentation

Constructor for a data list

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

data_list(...)

Arguments

...

objects, must all be named

Value

a list of named data

Examples

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

Shians/CellBench documentation built on Oct. 16, 2023, 7:54 a.m.