Skip to contents

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

Usage

is.mrgmod(x)

Arguments

x

any object

Value

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

Examples

mod <- mrgsolve::house()
is.mrgmod(mod)
#> [1] TRUE