This class serves as a specialized extension of the egm
class
specifically for standard 12-lead electrocardiogram data. It inherits all
functionality from egm
while providing additional validation and methods
specific to 12-lead ECG analysis.
ecg(
signal = signal_table(),
header = header_table(),
annotation = annotation_table(),
...
)is_ecg(x)
An object of class ecg
(which inherits from egm
) containing
signal, header, and annotation components.
A signal_table
object generated by the signal_table()
function containing standard ECG leads
A header_table
object generated by the header_table()
function
A annotation_table
object generated by the
annotation_table()
function
Additional arguments to be passed to the function
An ecg
object to be used with support functions
The ecg
object contains the same three components as egm
:
signal data in multiple channels (specifically 12 standard ECG leads)
header information
annotation labels at specified time points
The primary difference is that this class enforces validation to ensure the data represents a standard 12-lead ECG with appropriate lead names.