Highest / Lowest

All functions · nseries package

Highest

func (s Series) Highest(n int) Series

Highest returns the highest value from the last <n>{=html} values. For the first <n-1>{=html} values, the highest along the series to that point is returned. A value of n less than one returns a copy of the original Series.

Lowest

func (s Series) Lowest(n int) Series

Lowest returns the lowest value from the last <n>{=html} values. For the first <n-1>{=html} values, the lowest along the series to that point is returned. A value of n less than one returns a copy of the original Series.