Skip to content

compute_high_qtc_sub

Description

Computes the number of subjects with QTc > 450, 500 as well as deltaQTc > 30, 60

Usage

compute_high_qtc_sub(
data,
qtc_col,
deltaqtc_col,
group_col = NULL
)

Arguments

NameDescription
dataa dataframe with QTc dataset
qtc_colan unquoted column name containing QTc data
deltaqtc_colan unquoted column name containing deltaQTc data
group_colan optional column name for grouping data

Returns

a tibble containing the number of subjects with high QTc values

Examples

data_proc <- preprocess(data)
compute_high_qtc_sub(data_proc, QTCF, deltaQTCF)
compute_high_qtc_sub.R
# A tibble: 1 × 6
group n_QTc_gt_450 n_QTc_gt_480 n_QTc_gt_500 n_dQTc_gt_30 n_dQTc_gt_60
<chr> <int> <int> <int> <int> <int>
1 Total 0 0 0 0 0