function to check if object is of class cyanoFilter(MarginEvents)
is.MarginEvents(x)
x
any R object
TRUE if object is of class MarginEvents. FALSE otherwise
x <- c(1, 5, 4) is.MarginEvents(x)