Time of maximum observation

Description

Determine the time of the maximum item in the supplied time series.

Usage

1
time_at_peak(ts, icol = 1)

Arguments

ts

Time series

icol

Column index if a multi-column time series

Author(s)

Peter Metcalfe

Peter Metcalfe

Examples

1
2
3
4
5