Learn R Programming

gmvarkit (version 1.5.0)

check_gmvar: Checks whether the given object has class attribute 'gmvar'

Description

check_gmvar checks that the object has class attribute 'gmvar'.

Usage

check_gmvar(object, object_name)

Arguments

object

S3 object to be tested

object_name

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

Value

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