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
Name | Description |
---|---|
data | a dataframe with QTc dataset |
qtc_col | an unquoted column name containing QTc data |
deltaqtc_col | an unquoted column name containing deltaQTc data |
group_col | an 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)
# 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