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

View source: R/check_list_class.R

check_list_classR Documentation

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)

Arguments

list.object

A list used in BEAMR analysis

required.class

Class for list elements, e.g. matrix

Value

Logical TRUE if list is of required class

Examples

data(omicdat)
check_list_class(omicdat, "matrix")

BEAMR documentation built on Sept. 11, 2024, 7:48 p.m.