| run_npd_1cmpt_iv | R Documentation |
Fits a one-compartment intravenous pharmacokinetic model using a naive pooled data approach and evaluates model performance based on prediction error metrics.
run_npd_1cmpt_iv(
dat,
est.method = "nls",
input.cl = exp(1),
input.vd = exp(1),
input.add = 1
)
dat |
A data frame containing raw time–concentration data in standard nlmixr2 format. |
est.method |
Estimation method used in nlmixr2. Defaults to "nls". |
input.cl |
Initial estimate for clearance (CL). Defaults to exp(1), corresponding to a log-scale value of 1. |
input.vd |
Initial estimate for volume of distribution (Vd). Defaults to exp(1), corresponding to a log-scale value of 1. |
input.add |
Additive error term. Defaults to 1. |
Rows with EVID == 2 are excluded prior to model fitting. The model is fitted
using Fit_1cmpt_iv, and prediction-based metrics are calculated to assess
performance.
A list containing the fitted parameter estimates and prediction error metrics.
Zhonghui Huang
Fit_1cmpt_iv
run_npd_1cmpt_iv(dat = Bolus_1CPT, input.cl = 4, input.vd = 70)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.