Checks whether all function arguments are valid and entered column names are present in input data
See qpNCA for description of the arguments
check.input(
x,
by = NA,
nomtimevar = NA,
timevar = NA,
depvar = NA,
bloqvar = NA,
loqvar = NA,
loqrule = NA,
includeCmax = NA,
exclvar = NA,
plotdir = NA,
timelab = NA,
deplab = NA,
tau = NA,
tstart = NA,
tend = NA,
teval = NA,
covariates = NA,
dose = NA,
factor = NA,
reg = NA,
ss = NA,
route = NA,
method = NA
)data.frame
column names in x indicating grouping variables
variable name containing the nominal sampling time after dose
variable name containing the actual sampling time after dose
variable name containing the dependent variable (e.g., concentration)
variable name containing the BLOQ flag (0: no, 1: yes)
variable name containing the LOQ value
rule number to be applied to the LOQ values in the curve; x$loqrule overrides if provided
include Cmax in half-life estimation? (y/n); x$includeCmax overrides if provided
variable name indicating points to be excluded in half-life estimation (these should have exclvar = 1)
directory where regression plots (.PNG) will be saved; NA gives default location, NULL skips regression plots
label for time axis in regression plots
label for dependent variable axis in regression plots
dosing interval (for multiple dosing); NA (default) if single dose; x$tau overrides
start time of partial AUC (start>0); NA (default) if not requested; x$tstart overrides
end time of partial AUC; NA (default) if not requested; x$tend overrides
user selected AUC interval (starting at t=0); NA (default) if not requested; x$teval overrides
covariates dataset; Must contain the dose variable
variable containing the dose amount
conversion factor for CL and V calculation (e.g. dose in mg, conc in ng/mL, factor=1000); x$factor overrides if provided
regimen, "SD" or "MD"; x$reg overrides if provided
is steady state reached (y/n); x$ss overrides if provided
route of drug administration ("EV","IVB", "IVI"); x$route overrides if provided
method for trapezoidal rule; x$method overrides if provided
Check results