Skip to contents

Generic function to extract a property from a model summary

Usage

get_prop(xpdb, prop, .problem = NULL, .subprob = NULL, .method = NULL)

Arguments

xpdb

<xpose_dataxpose::xpose_data> object

prop

<character> Property to extract

.problem

<numeric> Problem number to use. Uses the xpose default if not provided.

.subprob

<numeric> Subproblem number to use. Uses the xpose default if not provided.

.method

<character> Method to use. Uses the xpose default if not provided.

Value

Exact value for the property

Examples


data("xpdb_ex_pk", package = "xpose")

get_prop(xpdb_ex_pk, "descr")
#> [1] "NONMEM PK example for xpose"