Learn R Programming

BEAMR (version 1.1.0)

check_list_class: Check that each element of a list is of a required class

Description

Check that each element of a list is of a required class

Usage

check_list_class(list.object, required.class)

Value

Logical TRUE if list is of required class

Arguments

list.object

A list used in BEAMR analysis

required.class

Class for list elements, e.g. matrix

Examples

Run this code
data(omicdat)
check_list_class(omicdat, "matrix")

Run the code above in your browser using DataLab