powered by
This function checks if an object is of class 'qe.code'.
is.qe.code(x)
A logical value. TRUE if the object is of class 'qe.code', otherwise FALSE.
An object. The object to be checked.
dt <- 1:5 class(dt) <- c("qe.code", class(dt)) is.qe.code(dt) # Should return TRUE
Run the code above in your browser using DataLab