Function to detect whether two objects are compatible
Two objects with
Here, “compatible” means have the same names and levels. If an
mdm object and
mhp object are compatible, then they may
be supplied to (eg)
The function uses
identical() to compare the names and levels.
Returns a Boolean.
Cannot yet compare
Robin K. S. Hankin