set_time_varying_error_model
Set a time varying error model per time cutoff
set_time_varying_error_model(model, cutoff, idv = "TIME", dv = NULL)
model
: (Model) Pharmpy modelcutoff
: (numeric) A cutoff value for idv columnidv
: (str) Time or time after dose, default is Timedv
: (str or Expr or numeric (optional)) Name or DVID of dependent variable. NULL for the default (first or only)(Model) Pharmpy model object
## 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)