data_list {CellBench} | R 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, ]
    )

[Package CellBench version 1.0.1 Index]