ts_water_year: Reshape the time series in water-year

View source: R/Others.R

ts_water_yearR Documentation

Reshape the time series in water-year

Description

Reshape the time series in water-year, set the start month of the water year, the number of a water year will be same as the first year-number. And the data before the start month will in the end of the time series. Please make sure the time series begin with the 1. Jan..

Usage

ts_water_year(Data, wateryear_start_m)

Arguments

Data

[xts]-2D(time, space) Time serious Data in difficult location.

wateryear_start_m

[num]-|2|3|4|5|6|7|8|9|10|11|12| for Feb. ... Dec.

Value

By water year reshaped time serious Data [xts]-2D(time, space)

Examples

ts_water_year(xts_Q, 10)

LuckyKanLei/HydSig documentation built on June 30, 2022, 8:07 p.m.