Learn R Programming

gmvarkit (version 2.1.4)

check_gsmvar: 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)

Value

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

Arguments

object

S3 object to be tested

object_name

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