Learn R Programming

⚠️There's a newer version (2.0.0) of this package.Take me there.

DTSg offers basic time series functionalities such as listing of missing values, application of arbitrary aggregation as well as rolling (asymmetric) window functions and automatic detection of periodicity. As it is mainly based on 'data.table', it is fast and – in combination with the 'R6' package – offers reference semantics. In addition to its native R6 interface, it provides an S3 interface inclusive an S3 wrapper method generator for those who prefer the latter. Finally yet importantly, its functional approach allows incorporating functionalities from many other packages.

Installation

Install the latest release from CRAN:

install.packages("DTSg")

Install the development version from GitHub (requires the remotes package):

remotes::install_github("gisler/DTSg")

Getting Started

A. Basic Usage

B. Advanced Usage

Copy Link

Version

Install

install.packages('DTSg')

Monthly Downloads

662

Version

0.6.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gerold Hepp

Last Published

July 12th, 2020

Functions in DTSg (0.6.0)

DTSg

DTSg Class
refresh.DTSg

Object Integrity
summary.DTSg

Time Series Summary
interpolateLinear

Linear Interpolation
merge.DTSg

Merge Two DTSg Objects
values.DTSg

Get Values
alter.DTSg

Alter Time Series
aggregate.DTSg

Aggregate Values
TALFs

Temporal Aggregation Level Functions
clone.DTSg

Clone Object
nas.DTSg

List Missing Values
plot.DTSg

Plot Time Series
rollback

Rollback Month
rollapply.DTSg

Rolling Window Function
flow

Daily River Flows
getCol.DTSg

Get Column Vector
colapply.DTSg

Apply Function Column-wise
cols.DTSg

Get Column Names
setCols.DTSg

Set Columns' Values
subset.DTSg

Subset Time Series
S3WrapperGenerator

S3 Wrapper Method Generator
print.DTSg

Print Time Series