Learn R Programming

HistDAWass (version 1.0.4)

subsetHTS: Method subsetHTS: extract a subset of a histogram time series

Description

This functon return the mean of a distributionH object.

Usage

subsetHTS(object, from, to)

# S4 method for HTS,numeric,numeric subsetHTS(object, from, to)

Arguments

object

a HTS object. A histogram 1d time series

from

an integer, the initioal timepont

to

an integer, a final timepoint

Value

a HTS object. A histogram 1d time series

Examples

Run this code
# NOT RUN {
SUB_RetHTS=subsetHTS(RetHTS,from=1, to=20)# the first 20 elements
# }

Run the code above in your browser using DataLab