Usage
solve_3comp(chem.name = NULL, chem.cas = NULL, times=NULL,
parameters=NULL, days=10, tsteps = 4, daily.dose = 1,dose=NULL,
doses.per.day=NULL, initial.values=NULL,plots=F, suppress.messages=F,
species="Human", iv.dose=F,output.units='uM',
method="lsoda",rtol=1e-8,
atol=1e-12,default.to.human=F,recalc.blood2plasma=F,
recalc.clearance=F,dosing.matrix=NULL,...)Arguments
chem.name
Either the chemical name, CAS number, or the parameters must be specified.
chem.cas
Either the chemical name, CAS number, or the parameters must be specified.
times
Optional time sequence for specified number of days. The dosing sequence begins at the beginning of times.
parameters
Chemical parameters from parameterize_3comp function, overrides chem.name and chem.cas.
days
Length of the simulation.
tsteps
The number time steps per hour.
daily.dose
Total daily dose, mg/kg BW.
dose
Amount of a single dose, mg/kg BW. Overwrites daily.dose.
doses.per.day
Number of doses per day.
initial.values
Vector containing the initial concentrations or amounts of the chemical in specified tissues with units corresponding to output.units. Defaults are zero.
plots
Plots all outputs if true.
suppress.messages
Whether or not the output message is suppressed.
species
Species desired (either "Rat", "Rabbit", "Dog", "Mouse", or default "Human").
iv.dose
Simulates a single i.v. dose if true.
output.units
Desired units (either "mg/L", "mg", "umol", or default "uM").
method
Method used by integrator (deSolve).
rtol
Argument passed to integrator (deSolve).
atol
Argument passed to integrator (deSolve).
default.to.human
Substitutes missing animal values with human values if true (hepatic intrinsic clearance or fraction of unbound plasma).
recalc.blood2plasma
Recalculates the ratio of the amount of chemical in the blood to plasma using the input parameters, calculated with hematocrit, Funbound.plasma, and Krbc2pu.
recalc.clearance
Recalculates the the hepatic clearance (Clmetabolism) with new million.cells.per.gliver parameter.
dosing.matrix
Vector of dosing times or a matrix consisting of two columns or rows named "dose" and "time" containing the time and amount, in mg/kg BW, of each dose.
...
Additional arguments passed to the integrator.