tis (version 1.0)

print.tis: Printing Time Indexed Series

Description

Print method for time indexed series.

Usage

## S3 method for class 'tis':
print(x, format = "\%Y\%m\%d", matrix.format = F, ...)

Arguments

x
a time indexed series
format
a character string describing how to format the observation times if either x is printed in matrix form. Format strings are detailed in format.ti.
matrix.format
TRUE or FALSE. See details.
...
additional arguments that may be passed along to print.ts. See details.

Details

If matrix.format is F (the default) and x is a univariate monthly, quarterly or annual series, printing is accomplished by print(as.ts(x), ...). Otherwise, x is printed as a matrix with rownames created by formatting the time indexes of the observations according to the format string.

See Also

format.ti, print.ts

Examples

Run this code
print(tis(1:31, start = today() - 30), format = "%b %d, %Y")

Run the code above in your browser using DataLab