get_code {xpose}R Documentation

Access model code

Description

Access model code from an xpdb object.

Usage

get_code(xpdb, .problem = NULL)

Arguments

xpdb

An xpose_data object from which the model code will be extracted.

.problem

The problem to be used, in addition, problem 0 is attributed to general output (e.g. NM-TRAN warnings in NONMEM). By default returns the entire code.

Value

A tibble of the parsed model.

See Also

xpose_data, read_nm_model

Examples

parsed_model <- get_code(xpdb_ex_pk)
parsed_model


[Package xpose version 0.4.18 Index]