compute_qtcb_qtcf
Description
Computes QTCF and QTCB from qt_col and rr_col and QTCFBL and QTCBBL from qtbl_col and rrbl_col
Usage
compute_qtcb_qtcf( data, qt_col = QT, qtbl_col = QTBL, rr_col = RR, rrbl_col = RRBL)
Arguments
Name | Description |
---|---|
data | a dataframe containing QT, RR, QTBL, RRBL |
qt_col | an unquoted column name of QT measurements, QT by default |
qtbl_col | an unquoted column name of baseline QT measurements, QTBL by default |
rr_col | an unquoted column name of RR measurements, RR by default |
rrbl_col | an unquoted column name of baseline RR measurements, RRBL by default |
Returns
data with QTCF, QTCB, QTCFBL, and QTCBBL columns
Examples
compute_qtcb_qtcf(data)
# A tibble: 643 × 19 ID TRTG DOSE DOSEU DOSEF NTLD TAFD CONC CONCU RR HR QT RRBL <dbl> <fct> <dbl> <chr> <fct> <dbl> <chr> <dbl> <chr> <dbl> <dbl> <dbl> <dbl> 1 1001 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 968 62.0 381. 851 2 1002 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 1097. 54.7 405. 1193. 3 1003 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 1026. 58.5 394. 923. 4 1004 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 862. 69.6 396. 883. 5 1005 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 1060. 56.6 398 1126. 6 1006 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 998 60.2 385 999 7 1007 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 919. 65.4 399. 909 8 1008 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 827. 72.5 371 991 9 1009 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 872. 68.9 368. 798.10 1010 Plac… 0 mg 0 mg 0.5 0.5 … 0 <NA> 1070. 56.1 424. 1071# ℹ 633 more rows# ℹ 6 more variables: HRBL <dbl>, QTBL <dbl>, QTCB <dbl>, QTCF <dbl>,# QTCBBL <dbl>, QTCFBL <dbl>