powered by
Non-overlapping temporal aggregation of a time series according to a specific aggregation order.
agg_ts(agg_order, x, align = "end", rm_na = FALSE)
A vector or ts object
ts
Aggregation order to consider.
Univariate time series: a vector or a ts object.
Specifies whether the aggregates should be aligned with the start () or end of the series.
logical. Should missing values be removed?
Other utilities: Cmatrix(), FoReco2ts(), arrange_hres(), commat(), ctf_tools(), hts_tools(), lcmat(), oct_bounds(), residuals_matrix(), score_index(), shrink_estim(), thf_tools()
Cmatrix()
FoReco2ts()
arrange_hres()
commat()
ctf_tools()
hts_tools()
lcmat()
oct_bounds()
residuals_matrix()
score_index()
shrink_estim()
thf_tools()
data(FoReco_data) annual_ts <- agg_ts(12, FoReco_data$obs$k1[,1]) # == FoReco_data$obs$k12[,1]
Run the code above in your browser using DataLab