Serie Class

Share:

Description

Implements the TOL grammar "Serie" in R.

Usage

1
2
3
4
# Creates a new Serie Object
Serie(data, dating, begin)
## S3 method for class 'Serie'
print(x, ..., limit, mode)

Arguments

data

a numeric vector of data

dating

a Dating object

begin

a Date object

x

a Serie object

...

further arguments

limit

the maximum number of data printed; default value is controlled by the option max.print.Serie

mode

the mode in which limited data will be printed; if mode is less than zero first data are printed, if it is greater than zero last data are printed, if zero (symmetric mode) some data from the first data and from the last data are printed; default value is controlled by the option mode.print.Serie

Value

The function Serie creates a new time-series. Returns a Serie object.

The method print prints the expression of the Polyn object and returns it.

See Also

Serie class related items:

  • Arithmetic operators

  • Basic attributes: Sdating, Sfirst, Slast

  • Other functions: Ssub

See the generic function print

See also the R time-series implementation: ts

Examples

1
s1 <- Serie(rnorm(12), Monthly, Date(2015))