same_class() tests if two objects have the same
class different_class() tests if two objects
have different class
an R object
same_class(letters[1:3], "class") # TRUE
same_class(1:3, "class") # FALSE
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.