remove_iiv {pharmr} | R Documentation |
remove_iiv
Description
Removes all IIV etas given a vector with eta names and/or parameter names.
Usage
remove_iiv(model, to_remove = NULL)
Arguments
model |
(Model) Pharmpy model to create block effect on. |
to_remove |
(array(str) or str (optional)) Name/names of etas and/or name/names of individual parameters to remove. If NULL, all etas that are IIVs will be removed. NULL is default. |
Value
(Model) Pharmpy model object
See Also
remove_iov
add_iiv
add_iov
add_pk_iiv
Examples
## Not run:
model <- load_example_model("pheno")
model <- remove_iiv(model)
model$statements$find_assignment("CL")
model <- load_example_model("pheno")
model <- remove_iiv(model, "VC")
model$statements$find_assignment("VC")
## End(Not run)
[Package pharmr version 1.0.1 Index]