Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.DTSg

Time Series Summary


Description

Calculates summary statistics of selected columns of a DTSg object.

Usage

## S3 method for class 'DTSg'
summary(object, cols = self$cols(), ...)

Arguments

object

A DTSg object (S3 method only).

cols

A character vector specifying the columns whose values shall be summarised.

...

Further arguments passed on to summary.data.frame.

Value

Returns a table.

See Also

Examples

# new DTSg object
x <- DTSg$new(values = flow)

# calculate summary statistics
## R6 method
x$summary()

## S3 method
summary(object = x)

DTSg

A Class for Working with Time Series Based on 'data.table' and 'R6' with Largely Optional Reference Semantics

v0.7.0
MIT + file LICENSE
Authors
Gerold Hepp [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.