Computes corrected QT using Bazett's, Fridericia's or Sagie's formula.

## Usage

compute_qtc(qt, rr, method)

## Arguments

qt

QT interval

A numeric vector is expected. It is expected that QT is measured in msec.

rr

RR interval

A numeric vector is expected. It is expected that RR is measured in msec.

method

Method used to QT correction

Permitted Values: "Bazett", "Fridericia", "Sagie"

## Value

QT interval in msec

## Details

Depending on the chosen method one of the following formulae is used.

Bazett: $$\frac{QT}{\sqrt{\frac{RR}{1000}}}$$

Fridericia: $$\frac{QT}{\sqrt{\frac{RR}{1000}}}$$

Sagie: $$1000\left(\frac{QT}{1000} + 0.154\left(1 - \frac{RR}{1000}\right)\right)$$

Usually this computation function can not be used with %>%.

BDS-Findings Functions that returns a vector: compute_bmi(), compute_bsa(), compute_framingham(), compute_map(), compute_qual_imputation_dec(), compute_qual_imputation(), compute_rr()

Stefan Bundfuss

## Examples

compute_qtc(qt = 350, rr = 56.54, method = "Bazett")
#>  1471.94

compute_qtc(qt = 350, rr = 56.54, method = "Fridericia")
#>  911.9047

compute_qtc(qt = 350, rr = 56.54, method = "Sagie")
#>  495.2928