has_combined_error_model {pharmr}R Documentation

has_combined_error_model

Description

Check if a model has a combined additive and proportional 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_combined_error_model(model, dv = NULL)

Arguments

model

(Model) The model to check

dv

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

Value

(logical) TRUE if the model has a combined error model and FALSE otherwise

See Also

has_additive_error_model : Check if a model has an additive error model

has_proportional_error_model : Check if a model has a proportional error model

has_weighted_error_model : Check if a model has a weighted error model

Examples

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

## End(Not run)

[Package pharmr version 0.96.0 Index]