Learn R Programming

rinform (version 1.0.2)

series_range: Series Range

Description

Compute the range, minimum and maximum values in a floating-point time series series.

Usage

series_range(series)

Arguments

series

Vector giving the time series.

Value

List giving the range, the minimum and the maximum value of the series.

Examples

Run this code
# NOT RUN {
series_range(c(0, 1, 2, 3, 4, 5))        # list(5, 0, 5)
series_range(c(-0.1, 8.5, 0.02, -6.3))   # list(14.8, -6.3, 8.5)

# }

Run the code above in your browser using DataLab