check_gsmvar: Checks whether the given object has class attribute 'gsmvar'

View source: R/argumentChecks.R

check_gsmvarR Documentation

Checks whether the given object has class attribute 'gsmvar'

Description

check_gsmvar checks that the object has class attribute 'gsmvar'.

Usage

check_gsmvar(object, object_name)

Arguments

object

S3 object to be tested

object_name

what is the name of the object that should of class 'gsmvar'?

Value

Throws an error if the object doesn't have the class attribute 'gsmvar'.


gmvarkit documentation built on Nov. 15, 2023, 1:07 a.m.