check_params_flat {invivoPKfit} | R Documentation |
Check flat model parameters
Description
Check to make sure required parameters are present to evaluate flat model for a given route and medium
Usage
check_params_flat(params, route, medium, ...)
Arguments
params |
A named numeric vector of parameters for the flat model. |
route |
A character vector of routes: "iv" and/or "oral". |
medium |
A character vector of tissue media: "plasma" and/or "blood". |
... |
Additional arguments (not currently used) |
Value
Character: A message. If all required parameters are present for the given media & routes, the message is "Parameters OK". If required parameters for the oral route are missing, the message is "Error: For flat oral model, missing parameters (comma-separated list of parameter names)". If required parameters for the IV route are missing, the message is "Error: For flat oral model, missing parameters (comma-separated list of parameter names)".
Author(s)
Caroline Ring