Learn R Programming

htsr (version 2.1.6)

h_cumul: Cumul of time-series

Description

The function returns a time-series of cumulated values. If the value is negative, the absolute value is taken. It is possible to limit the computation time interval. NA values are ignored.

Usage

h_cumul(file, start = NA, end = NA)

Arguments

file

File name to proceed

start

Start date, default = NA

end

End date, default NA

Author

P. Chevallier - Oct 2017-Jan 2019

Details

The output file is named with a cu_ prefix.

Examples

Run this code
if (FALSE) {

f <- h_cumul(f, start="2012-1-1", end = "2013-1-1")
}

Run the code above in your browser using DataLab