powered by
subsetHTS
This functon return the mean of a distributionH object.
distributionH
subsetHTS(object, from, to)# S4 method for HTS,numeric,numeric subsetHTS(object, from, to)
# S4 method for HTS,numeric,numeric subsetHTS(object, from, to)
a HTS object. A histogram 1d time series
HTS
an integer, the initioal timepont
an integer, a final timepoint
# NOT RUN { SUB_RetHTS=subsetHTS(RetHTS,from=1, to=20)# the first 20 elements # }
Run the code above in your browser using DataLab