Learn R Programming

invivoPKfit (version 2.0.1)

check_params_flat: 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, ...)

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)".

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)

Author

Caroline Ring