Last chance! 50% off unlimited learning
Sale ends in
Get the symbol for a certain dvid or dv and check that it is valid
get_dv_symbol(model, dv = NULL)
(sympy.Symbol) DV symbol
(Model) Pharmpy model
(Expr or str or numeric (optional)) Either a dv symbol, str or dvid. If NULL (default) return the only or first dv.
if (FALSE) {
model <- load_example_model("pheno")
get_dv_symbol(model, "Y")
get_dv_symbol(model, 1)
}
Run the code above in your browser using DataLab