is_real function

is_real

is_real

Determine if an expression is real valued given constraints of a model

is_real(model, expr)

Arguments

  • model: (Model) Pharmpy model
  • expr: (numeric or str or Expr) Expression to test

Returns

(logical or NULL) TRUE if expression is real, FALSE if not and NULL if unknown

Examples

## Not run: model <- load_example_model("pheno") is_real(model, "CL") ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04