Learn R Programming

invivoPKfit (version 2.0.1)

check_params_1comp_cl: Check 1-compartment model parameters

Description

Check to make sure required parameters are present to evaluate 1-compartment model for a given route and medium

Usage

check_params_1comp_cl(params, route, medium, ...)

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 1-compartment oral model, missing parameters (comma-separated list of parameter names)". If required parameters for the IV route are missing, the message is "Error: For 1-compartment oral model, missing parameters (comma-separated list of parameter names)".

Arguments

params

A named numeric vector of parameters for the 1-compartment 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)

Author

Caroline Ring