Usage
cardioModel(x, ID = "ID", NTAFD = "NTAFD", TOD = "TOD", CLOCK = "CLOCK",
RESPONSE = "RESPONSE", EXPOSURE = "EXPOSURE", PERIOD = "PERIOD",
SEQUENCE = "SEQUENCE", COHORT = "COHORT", AIC.k = 2,
delay.confidence = 0.99, study.name = "unknown study",
drug.name = "unknown drug")
Arguments
x
A dataframe with one measure of cardiovascular response (e.g., QT interval, heart rate, pulse rate, blood pressure), one measure of drug exposure (e.g., plasma concentration).
ID
The name of the column (in x) containing the subject unique identification number.
NTAFD
The name of the column containing the nominal time after first dose.
TOD
(required if CLOCK is not supplied) The name of the column containing the time of the day, as a continuous variable with range [0, 24). If both TOD and CLOCK are provided, then only TOD will be used in the model fitting.
CLOCK
(required if TOD is not supplied) The name of the column containing the time of the day, as 24 hour clock time [0:00, 24:00). If both TOD and CLOCK are provided, then only TOD will be used in the model fitting.
RESPONSE
The name of the column containing a measure of cardiovascular response (e.g., QT interval, heart rate, pulse rate, blood pressure).
EXPOSURE
The name of the column containing a measure of drug exposure (e.g., plasma concentration).
PERIOD
(optional) The name of the column specifying the study period for studies where the subjects receive different doses at different occasions. If a column with this name does not exist, then it is assumed that there is only a single occasion. In this case
SEQUENCE
(optional) The name of the column specifying the sequence when multiple measurements of the response are taken with the same recorded value of NTAFD. If a column with this name does not exist, then it is assumed that multiple measurements are not recorde
COHORT
(optional) The name of the column specifying the study cohort when period numbers are nested within cohorts. If a column with this name does not exist, then it is assumed that the period numbers are not nested within cohorts.
AIC.k
numeric, the penalty per parameter to be used for computing the AIC; the default here is 2, which is the classical AIC.
delay.confidence
numeric in the range (0, 1), the one-sided confidence level threshold for the linear regression analysis performed in the diagnosis for the anticlockwise hysteresis. The default here is 0.99.
study.name
(optional) The name of the study. This is used to label the output.
drug.name
(optional) The name of the drug. This is used to label the output.