Skip to contents

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[3]{\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 %>%.

Examples

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

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

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