get_initial_conditions {pharmr}R Documentation

get_initial_conditions

Description

Get initial conditions for the ode system

Default initial conditions at t=0 for amounts is 0

Usage

get_initial_conditions(model, dosing = FALSE)

Arguments

model

(Model) Pharmpy model

dosing

(logical) Set to TRUE to add dosing as initial conditions

Value

(list) Initial conditions

Examples

## Not run: 
model <- load_example_model("pheno")
get_initial_conditions(model)
get_initial_conditions(model, dosing=TRUE)

## End(Not run)


[Package pharmr version 1.0.1 Index]