Skip to contents

S7 class for hespeR list of vectors

Usage

HesperList(hesper_list = list())

Arguments

hesper_list

(list[HesperVector]) A list of HesperList items, each representing a HESPER item and its allowed options.

Value

(S7_object) A S7 object of class HesperList, representing a list of HESPER vectors.

Details

The HesperList class is designed to encapsulate a collection of HESPER vectors. Each vector in the list is an instance of the HesperVector class, representing a specific HESPER item and its allowed options.

The class validates that each item in the list is a valid HesperVector and that the list is not empty, has duplicated HESPER items, has different lengths of hesper_vals, and has consistent allow_missing values across all items.