rxIs: Check the type of an object using Rcpp

View source: R/RcppExports.R

rxIsR Documentation

Check the type of an object using Rcpp

Description

Check the type of an object using Rcpp

Usage

rxIs(obj, cls)

Arguments

obj

Object to check

cls

Type of class. Only s3 classes for lists/environments and primitive classes are checked. For matrix types they are distinguished as numeric.matrix, integer.matrix, logical.matrix, and character.matrix as well as the traditional matrix class. Additionally checks for event.data.frame which is an data.frame object with time, evid and amt. (UPPER, lower or Title cases accepted)

Value

A boolean indicating if the object is a member of the class.

Author(s)

Matthew L. Fidler


RxODE documentation built on March 23, 2022, 9:06 a.m.