subseries {jmotif} | R Documentation |
Extracts a subseries.
Description
Extracts a subseries.
Usage
subseries(ts, start, end)
Arguments
ts |
the input timeseries (0-based, left inclusive). |
start |
the interval start. |
end |
the interval end. |
Examples
y = c(-1, -2, -1, 0, 2, 1, 1, 0)
subseries(y, 0, 3)
[Package jmotif version 1.1.1 Index]