Learn R Programming

exprso (version 0.5.1)

classCheck: Class Check

Description

Checks whether an object belongs to a specified class. For back-end use only.

Usage

classCheck(x, what, msg)

Arguments

x

An object.

what

A character vector. The classes any of which x should have.

msg

A string. An error message if x is not what.