Skip to content

compute_ecg_param_summary

Description

Generates a tibble of summary of QTc, dQTc and ddQTc over time stratified by dose

Usage

compute_ecg_param_summary(
data,
ntime_col,
dose_col,
ecg_param_col,
deltaecg_param_col,
group_col = NULL,
reference_dose = NULL,
conf_int = 0.95
)

Arguments

NameDescription
dataa dataframe containing QTc dataset
ntime_colan unquoted column name for nominal time data
dose_colan unquoted column name for dose data
ecg_param_colan unquoted column name for QTc measurements
deltaecg_param_colan unquoted column name for deltaQTc measurements
group_colan unquoted column name for additional grouping column
reference_dosean optional argument for specifying reference dose for delta delta QTc computation
conf_intan optional argument for setting confidence interval. default 0.95

Returns

a tibble of QTc/deltaQTc/delta delta QTc summary over dose and time.

Examples

data <- data %>% preprocess()
compute_ecg_param_summary(data, NTLD, DOSEF, QTCF, deltaQTCF)
compute_ecg_param_summary.R
# A tibble: 30 × 10
dose time n mean_ecg ecg_low ecg_high group mean_decg decg_low
<fct> <dbl> <int> <dbl> <dbl> <dbl> <chr> <dbl> <dbl>
1 0 mg 0.5 22 387. 380. 394. 0 mg -8.28 -11.1
2 0 mg 1 22 390. 383. 398. 0 mg -5.45 -8.57
3 0 mg 1.5 22 390. 383. 398. 0 mg -5.46 -8.46
4 0 mg 2 22 393. 386. 401. 0 mg -2.39 -4.70
5 0 mg 2.5 22 392. 384. 400. 0 mg -4.09 -8.40
6 0 mg 3 22 390. 382. 398. 0 mg -5.88 -9.51
7 0 mg 3.5 22 386. 379. 393. 0 mg -9.55 -13.6
8 0 mg 4 21 388. 380. 396. 0 mg -7.75 -11.7
9 0 mg 5 22 386. 378. 394. 0 mg -9.39 -13.8
10 0 mg 6 22 388. 380. 396. 0 mg -7.49 -13.6
# ℹ 20 more rows
# ℹ 1 more variable: decg_high <dbl>