is.mrgmod: Check if an object is a model object

View source: R/class_mrgmod.R

is.mrgmodR Documentation

Check if an object is a model object

Description

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)


metrumresearchgroup/mrgsolve documentation built on April 13, 2025, 9:43 a.m.