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'.


saviviro/gmvarkit documentation built on Jan. 4, 2025, 12:52 p.m.