Description Usage Arguments Value Examples
Fit Pharmacokinetic (PK) data and estimate PK parameters. The use of other software like NONMEM or MONOLIX is encoraged for estimation of parameters from different individuals.
1 2 | Estimate.PK(PK_data, x.name = "time", y.name = "CONC", model,
initial_estimates, log.yaxis = FALSE, weighted = FALSE)
|
PK_data |
Data to fit (drug concentrations over time) |
x.name |
Column name of the independent variable (time) in the x axis. "time" by default. |
y.name |
Column name of the dependent variable (drug concentrations) in the y axis. "CONC" by default. |
model |
Structural PK model definition (mrgsolve model specification). |
initial_estimates |
list with the initial estimates for the PK parameters. |
log.yaxis |
logical to indicate if the values for the dependent variable should be log transformed. FALSE by default. |
weighted |
logical. If TRUE a weighted NLS method is applied. |
This function returns the final estimates for the PK paramters and the plot of the observation values and the prediction of the model
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.