compatible: Are two objects compatible?

Description Usage Arguments Details Value Note Author(s) Examples

Description

Function to detect whether two objects are compatible

Usage

1
compatible(x1,x2)

Arguments

x1,x2

Two objects with names and levels. Typically either objects of class mhp or mdm.

Details

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) var.matrix().

The function uses identical() to compare the names and levels.

Value

Returns a Boolean.

Note

Cannot yet compare LoF objects.

Author(s)

Robin K. S. Hankin

Examples

1
2

multivator documentation built on May 29, 2017, 7:23 p.m.