Learn R Programming

rENA (version 0.3.0)

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

Description

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

Usage

is.qe.horizon(x)

Value

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

Arguments

x

An object. The object to be checked.

Examples

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

Run the code above in your browser using DataLab