linear_model_ode: Generate linear pharmacokinetic model ordinary differential...

Description Usage Arguments Value Functions Examples

View source: R/linear_translators.R

Description

Generate linear pharmacokinetic model ordinary differential equation code

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
linear_model_ode(..., compartments = NULL)

linear_model_ode_threecmt_ev(ka, cl, q, q2, v, vp, vp2, compartments = NULL)

linear_model_ode_threecmt_iv(cl, q, q2, v, vp, vp2, compartments = NULL)

linear_model_ode_twocmt_ev(ka, cl, q, v, vp, compartments = NULL)

linear_model_ode_twocmt_iv(cl, q, v, vp, compartments = NULL)

linear_model_ode_onecmt_ev(ka, cl, v, compartments = NULL)

linear_model_ode_onecmt_iv(cl, v, compartments = NULL)

Arguments

...

passed to other methods

compartments

Character vector of compartment names

ka

Absorption rate as an unquoted string

cl

Clearanc as an unquoted string

q

Intercompartmental clearance between the first and second compartment as an unquoted string

q2

Intercompartmental clearance between the first and third compartment as an unquoted string

v

Central volume of distribution as an unquoted string

vp

First peripheral volume of distribution as an unquoted string

vp2

Second peripheral volume of distribution as an unquoted string

Value

A character vector of code to insert

Functions

Examples

1
2
3
4
# Manually specify the model to use
linear_model_ode_onecmt_ev(ka=ka_drug1, cl=cl_drug1, v=v_drug1)
# Automatically detect the model to use
linear_model_ode(ka=ka_drug1, cl=cl_drug1, v=v_drug1)

nlmixrdevelopment/nlmixrExtra documentation built on Dec. 22, 2021, 3:11 a.m.