Learn R Programming

pharmr (version 1.4.0)

set_time_varying_error_model: 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)

Value

(Model) Pharmpy model object

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)

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_time_varying_error_model(model, cutoff=1.0)
model$statements$find_assignment("Y")
}

Run the code above in your browser using DataLab