Description Usage Arguments Value Functions Examples
View source: R/linear_translators.R
Generate linear pharmacokinetic model ordinary differential equation code
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)
|
... |
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 |
A character vector of code to insert
linear_model_ode_threecmt_ev
: Three compartment extravascular model
linear_model_ode_threecmt_iv
: Three compartment intravascular model
linear_model_ode_twocmt_ev
: Two compartment extravascular model
linear_model_ode_twocmt_iv
: Two compartment extravascular model
linear_model_ode_onecmt_ev
: One compartment extravascular model
linear_model_ode_onecmt_iv
: One compartment intravascular model
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.