Learn R Programming

hesim (version 0.2.3)

check_edata: Check data argument for create_input_mats

Description

Check that data argument for create_input_mats exists and that it is of the correct type.

Usage

check_edata(data)

Arguments

data

An object of class "expanded_hesim_data" returned by the function expand.hesim_data.

Value

If all tests passed, returns nothing; otherwise, throws an exception.