Window: Time windows of RR intervals

View source: R/ExtractTimeSegment.R

WindowR Documentation

Time windows of RR intervals

Description

Extracts a temporal subset between the times start and end.

Usage

Window(HRVData, start, end)

Arguments

HRVData

Data structure that stores the beats register and information related to it.

start

The start time of the period of interest.

end

The end time of the period of interest.

Details

If the HRVData episodes, beats or RR time series, these will be also extracted into the new HRV structure. On the other hand, all the analysis stored in the original structure will be lost.

Value

A new HRVData structure containing the subset of RR intervals within the specified range.

Examples

## Not run: 
data(HRVProcessedData)
# Rename for convenience
HRVData <- HRVProcessedData
PlotNIHR(HRVData)
newHRVData <- Window(HRVData,2000,4000)
PlotNIHR(newHRVData)

## End(Not run)

RHRV documentation built on Nov. 1, 2022, 1:05 a.m.