The function checks to see if the object is either mrgmod or packmod.

is.mrgmod(x)

Arguments

x

any object

Value

TRUE if the object inherits from either mrgmod or packmod class.

Examples

is.mrgmod(house())
#> [1] TRUE