set_time_varying_error_model {pharmr} | R Documentation |
set_time_varying_error_model
Description
Set a time varying error model per time cutoff
Usage
set_time_varying_error_model(model, cutoff, idv = "TIME", dv = NULL)
Arguments
model |
(Model) Pharmpy model |
cutoff |
(numeric) A cutoff value for idv column |
idv |
(str) Time or time after dose, default is Time |
dv |
(str or Expr or numeric (optional)) Name or DVID of dependent variable. NULL for the default (first or only) |
Value
(Model) Pharmpy model object
Examples
## Not run:
model <- load_example_model("pheno")
model <- set_time_varying_error_model(model, cutoff=1.0)
model$statements$find_assignment("Y")
## End(Not run)
[Package pharmr version 1.0.1 Index]