check_stvar {sstvars} | R Documentation |
Checks whether the given object has class attribute 'stvar'
Description
check_stvar
checks that the object has class attribute 'stvar'.
Usage
check_stvar(object, object_name)
Arguments
object |
S3 object to be tested |
object_name |
what is the name of the object that should of class 'stvar'? |
Value
Throws an error if the object doesn't have the class attribute 'stvar'.
[Package sstvars version 1.1.2 Index]