Learn R Programming

rENA (version 0.3.0)

is.qe.unit: Check if an object is of class 'qe.unit'

Description

This function checks if an object is of class 'qe.unit'.

Usage

is.qe.unit(x)

Value

A logical value. TRUE if the object is of class 'qe.unit', otherwise FALSE.

Arguments

x

An object. The object to be checked.

Examples

Run this code
dt <- 1:5
class(dt) <- c("qe.unit", class(dt))
is.qe.unit(dt) # Should return TRUE

Run the code above in your browser using DataLab