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