Skip to contents

Get a model's ancestors

Usage

get_model_ancestors(mod)

Arguments

mod

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

Value

Character vector of ancestor project-relative paths (with extension, e.g., "models/onecmt/run001.mod"). Includes mod itself alongside its ancestors. Returns empty vector if the lineage has no ancestors.