Learn R Programming

HistDAWass (version 1.0.8)

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)

Value

a HTS object. A histogram 1d time series

Arguments

object

a HTS object. A histogram 1d time series

from

an integer, the initioal timepont

to

an integer, a final timepoint

Examples

Run this code
SUB_RetHTS <- subsetHTS(RetHTS, from = 1, to = 20) # the first 20 elements

Run the code above in your browser using DataLab