Extracts a subseries.

Description

Extracts a subseries.

Usage

1

Arguments

ts

the input timeseries (0-based, left inclusive).

start

the interval start.

end

the interval end.

Examples

1
2
y = c(-1, -2, -1, 0, 2, 1, 1, 0)
subseries(y, 0, 3)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.