subsetHTS | R Documentation |
subsetHTS
: extract a subset of a histogram time seriesThis functon return the mean of a distributionH
object.
subsetHTS(object, from, to) ## S4 method for signature 'HTS,numeric,numeric' subsetHTS(object, from, to)
object |
a |
from |
an integer, the initioal timepont |
to |
an integer, a final timepoint |
a HTS
object. A histogram 1d time series
SUB_RetHTS <- subsetHTS(RetHTS, from = 1, to = 20) # the first 20 elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.