has_additive_error_model: has_additive_error_model

View source: R/functions_wrapper.R

has_additive_error_modelR Documentation

has_additive_error_model

Description

Check if a model has an additive error model

Multiple dependent variables are supported. By default the only (in case of one) or the first (in case of many) dependent variable is going to be checked.

Usage

has_additive_error_model(model, dv = NULL)

Arguments

model

(Model) The model to check

dv

(Expr or str or numeric (optional)) Name or DVID of dependent variable. NULL for the default (first or only)

Value

(logical) TRUE if the model has an additive error model and FALSE otherwise

See Also

has_proportional_error_model : Check if a model has a proportional error model

has_combined_error_model : Check if a model has a combined error model

has_weighted_error_model : Check if a model has a weighted error model

Examples

## Not run: 
model <- load_example_model("pheno")
has_additive_error_model(model)

## End(Not run)

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