subseries: 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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.