is_strictness_fulfilled: is_strictness_fulfilled

View source: R/functions_wrapper.R

is_strictness_fulfilledR Documentation

is_strictness_fulfilled

Description

Takes a ModelfitResults object and a statement as input and returns TRUE/FALSE if the evaluation of the statement is TRUE/FALSE.

Usage

is_strictness_fulfilled(model, results, strictness)

Arguments

model

(Model) Model for parameter specific strictness.

results

(ModelfitResults) ModelfitResults object

strictness

(str) A strictness expression

Value

(logical) A logical indicating whether the strictness criteria are fulfilled or not.

Examples

## Not run: 
res <- load_example_modelfit_results('pheno')
model <- load_example_model('pheno')
is_strictness_fulfilled(model, res, "minimization_successful or rounding_errors")

## End(Not run)


pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.