Description Usage Arguments Value See Also
If segmentlength is zero, the entire block length is used
and no segments are created. The tolerance is given in seconds, and
defaults to 1 second. The tolerance affects the last segment. If
the last segment would, e.g., extend past the data, the tolerance
parameter can be used to adjust when a slightly-shorter segment is
accepted, and when the entire segment must be discarded.
1 2 | generate_segments(time.start, time.stop, segment.length, segment.overlap,
tolerance = 1)
|
time.start |
A start time in seconds. |
time.stop |
A stop time in seconds. |
segment.length |
The segment length in seconds. |
segment.overlap |
The segment overlap in seconds. |
tolerance |
The tolerance of the last segment length in seconds. Optional, default is 1. |
A two-column matrix with the start time (in seconds) of each segment in the first column and the stop time (in seconds) in the second column.
Other utilities: defactor,
ensure_path,
extract_segment_block,
extract_segment_s,
extract_segment_timestamp,
extract_segment,
generate_result_row,
generate_segments_from_block,
get_file_extension,
get_filename_parts,
hr_from_ibi, ibi_from_ecg,
integrate_power,
num_to_timestamp,
replicate_df_row,
seconds_to_indices,
str_to_timestamp,
timeintervals_to_seconds,
timestamp_to_seconds,
timestamp_to_str
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.