check: Input validation for class objects

check.id_attributesR Documentation

Input validation for class objects

Description

check is a generic function for validating the inputs of class objects.

Usage

## S3 method for class 'id_attributes'
check(object, ...)

## S3 method for class 'input_mats'
check(object, ...)

## S3 method for class 'params_lm'
check(object, ...)

## S3 method for class 'params_mlogit'
check(object, ...)

## S3 method for class 'params_surv'
check(object, ...)

## S3 method for class 'params_surv_list'
check(object, ...)

## S3 method for class 'tparams_mean'
check(object, ...)

## S3 method for class 'tparams_transprobs'
check(object, ...)

check(object, ...)

Arguments

object

object to check.

...

Further arguments passed to or from other methods.

Value

If validation is successful, returns the object in question; otherwise, informs the user that an error has occurred.


dincerti/cea documentation built on Feb. 16, 2024, 1:15 p.m.