@@ -662,7 +662,7 @@ EcgEmgCpl <- function(ecg, emg, qrs, fs) {
662662}
663663
664664
665- # ' Section 1.2.4 waves and intervals. Amplitudes are measured against
665+ # ' Section 1.2.5 waves and intervals. Amplitudes are measured against
666666# ' the
667667# '
668668# ' PQ segment, not against zero: the PQ segment is the isoelectric
@@ -678,7 +678,7 @@ EcgEmgCpl <- function(ecg, emg, qrs, fs) {
678678# ' \code{fs}, \code{method}.
679679# ' @export
680680EcgFeat <- function (x , qrs , fs ) {
681- # Section 1.2.4 waves and intervals. Amplitudes are measured against the
681+ # Section 1.2.5 waves and intervals. Amplitudes are measured against the
682682 # PQ segment, not against zero: the PQ segment is the isoelectric reference
683683 # the book names, and it absorbs any residual baseline offset.
684684 fs <- .morie_qrs_fs(fs )
@@ -761,7 +761,7 @@ EcgFeat <- function(x, qrs, fs) {
761761 qtdurmean = .morie_qrs_mean(qtdur ), rampmean = .morie_qrs_mean(ramp ),
762762 nbeats = length(q ), fs = fs ,
763763 method = paste0(" ECG wave amplitudes and durations against the PQ " ,
764- " isoelectric reference, Rangayyan (2024) Section 1.2.4 " ))
764+ " isoelectric reference, Rangayyan (2024) Section 1.2.5 " ))
765765}
766766
767767
@@ -783,7 +783,7 @@ EcgFeat <- function(x, qrs, fs) {
783783# ' @export
784784EcgWaveShp <- function (qrsdur , stdev , rdur = NULL , sdur = NULL ,
785785 qpresent = NULL ) {
786- # Sections 1.2.4 (ST deviation against the PQ reference) and 10.2.1 (the
786+ # Sections 1.2.5 (ST deviation against the PQ reference) and 10.2.1 (the
787787 # incomplete LBBB/RBBB duration rules). Only the duration-based parts of
788788 # the book's rules are computable from one measured QRS duration; the
789789 # lead-specific conditions are RETURNED as still-required checks rather
@@ -812,14 +812,14 @@ EcgWaveShp <- function(qrsdur, stdev, rdur = NULL, sdur = NULL,
812812 qabsent = if (is.null(qpresent )) NULL else ! isTRUE(as.logical(qpresent )),
813813 stdev = stdev , stfinding = st , required = req ,
814814 method = paste0(" ECG waveshape rules for ischemia and bundle-branch " ,
815- " block, Rangayyan (2024) Sections 1.2.4 and 10.2.1" ))
815+ " block, Rangayyan (2024) Sections 1.2.5 and 10.2.1" ))
816816}
817817
818818
819819# ' ST level at J + jofs relative to the PQ isoelectric level, and the
820820# ' slope
821821# '
822- # ' of the segment that follows (Section 1.2.4 ). The 0.1 mV threshold is
822+ # ' of the segment that follows (Section 1.2.5 ). The 0.1 mV threshold is
823823# ' the conventional clinical figure, NOT a book value -- the payload
824824# ' says so.
825825# '
@@ -834,7 +834,7 @@ EcgWaveShp <- function(qrsdur, stdev, rdur = NULL, sdur = NULL,
834834# ' @export
835835ExerEcgSt <- function (x , qrs , fs , jofs = 0.060 , thresh = 0.1 ) {
836836 # ST level at J + jofs relative to the PQ isoelectric level, and the slope
837- # of the segment that follows (Section 1.2.4 ). The 0.1 mV threshold is the
837+ # of the segment that follows (Section 1.2.5 ). The 0.1 mV threshold is the
838838 # conventional clinical figure, NOT a book value -- the payload says so.
839839 fs <- .morie_qrs_fs(fs )
840840 x <- .morie_qrs_check(x , 16L , " ECG" )
@@ -877,7 +877,7 @@ ExerEcgSt <- function(x, qrs, fs, jofs = 0.060, thresh = 0.1) {
877877 " verified here" ),
878878 jofs = jofs , fs = fs ,
879879 method = paste0(" ST level and slope against the PQ isoelectric " ,
880- " reference, Rangayyan (2024) Section 1.2.4 " ))
880+ " reference, Rangayyan (2024) Section 1.2.5 " ))
881881}
882882
883883
@@ -1830,7 +1830,7 @@ TWaveDet <- function(chans, qrs, fs, tdur = 0.160) {
18301830}
18311831
18321832
1833- # ' Sections 1.2.4 and 8.11 describe VF but give NO detector and NO
1833+ # ' Sections 1.2.5 and 8.11 describe VF but give NO detector and NO
18341834# '
18351835# ' threshold, and no external primary source was verified here. The
18361836# ' rule below is therefore stated as what it is: a two-part heuristic
@@ -1849,7 +1849,7 @@ TWaveDet <- function(chans, qrs, fs, tdur = 0.160) {
18491849# ' \code{fs}, \code{method}.
18501850# ' @export
18511851VfDetect <- function (x , fs , win = 4 , conc = 0.60 , crest = 4 ) {
1852- # Sections 1.2.4 and 8.11 describe VF but give NO detector and NO
1852+ # Sections 1.2.5 and 8.11 describe VF but give NO detector and NO
18531853 # threshold, and no external primary source was verified here. The rule
18541854 # below is therefore stated as what it is: a two-part heuristic from the
18551855 # two properties the book DOES assert -- no discrete QRS complexes (so the
@@ -1903,7 +1903,7 @@ VfDetect <- function(x, fs, win = 4, conc = 0.60, crest = 4) {
19031903 rate = rates , conc = conc , crestmax = crest , nwin = length(flags ),
19041904 fraction = sum(flags ) / length(flags ), win = win , fs = fs ,
19051905 method = paste0(" VF heuristic from QRS absence and spectral " ,
1906- " concentration; Rangayyan (2024) Sections 1.2.4 and " ,
1906+ " concentration; Rangayyan (2024) Sections 1.2.5 and " ,
19071907 " 8.11 describe VF but give no detector, and no " ,
19081908 " external primary source was verified for this rule" ))
19091909}
0 commit comments