powered by
This function checks if an object is of class 'qe.unit'.
is.qe.unit(x)
A logical value. TRUE if the object is of class 'qe.unit', otherwise FALSE.
An object. The object to be checked.
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