subseries: Extracts a subseries.

Description Usage Arguments Examples

View source: R/RcppExports.R

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)

jmotif documentation built on March 26, 2020, 7:23 p.m.