Learn R Programming

pharmr (version 1.4.0)

is_real: is_real

Description

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

Usage

is_real(model, expr)

Value

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

Arguments

model

(Model) Pharmpy model

expr

(numeric or str or Expr) Expression to test

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
is_real(model, "CL")
}

Run the code above in your browser using DataLab