get_dv_symbol {pharmr}R Documentation

get_dv_symbol

Description

Get the symbol for a certain dvid or dv and check that it is valid

Usage

get_dv_symbol(model, dv = NULL)

Arguments

model

(Model) Pharmpy model

dv

(Expr or str or numeric (optional)) Either a dv symbol, str or dvid. If NULL (default) return the only or first dv.

Value

(sympy.Symbol) DV symbol

Examples

## Not run: 
model <- load_example_model("pheno")
get_dv_symbol(model, "Y")
get_dv_symbol(model, 1)

## End(Not run)


[Package pharmr version 1.0.1 Index]