Learn R Programming

tolBasis (version 1.0)

Serie: Serie Class

Description

Implements the TOL grammar "Serie" in R.

Usage

# Creates a new Serie Object Serie(data, dating, begin) "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:

See the generic function print

See also the R time-series implementation: ts

Examples

Run this code
s1 <- Serie(rnorm(12), Monthly, Date(2015))

Run the code above in your browser using DataLab