Skip to contents

Returns TRUE if m1 is an ancestor of m2 or vice versa (i.e., they are in a direct parent-child chain).

Usage

are_models_in_lineage(m1, m2)

Arguments

m1

A hyperion_nonmem_model object or a path to a .mod/.ctl file.

m2

A hyperion_nonmem_model object or a path to a .mod/.ctl file.

Value

Logical, TRUE if models are in direct lineage.