Print Method for Regular Time Series

DESCRIPTION:

Formats and prints a regular time series. This method is automatically called by print when given a time series of class rts.

USAGE:

print.rts(x, max.freq = 12, base = <see below>, ndec = 3,  
          labels = <see below>, tol = .Options$ts.eps, quote = F...) 

REQUIRED ARGUMENTS:

x
a univariate or multivariate regular time series.

OPTIONAL ARGUMENTS:

max.freq
(univariate time series only): number compared with integer frequencies. If frequency(x) is less than or equal to max.freq, then the special printing format described in DETAILS is used. Default is 12
base
the base value for the starting time of the series (relevant only for integer frequencies greater that 1 and less than or equal to max.freq). Default is floor(start.time), where start.time is the starting time of the series.
ndec
maximum number of decimal places of the time domain to be printed (relevant only when special printing is to be used). Default is 3
labels
column labels for the output (relevant only when special printing is to be used). Default is 1:frequency.
tol
very small number used to correct rounding errors when frequency or deltat are infinitely repeating decimal fractions (e.g, 1/7). (relevant only if special printing is to be used). Default is .Options$ts.eps
quote
logical flag: if TRUE, character strings are surrounded by quotes. Default is FALSE.

VALUE:

x with the invisible flag set to prevent reprinting.

SIDE EFFECTS:

Prints and possibly formats x as a time series.

DETAILS:

For univariate series with sufficiently small integer frequencies, the time series parameters, tspar(x), are used to ensure that either each line contains a full cycle or that a full cycle occupies an integral number of lines. The observation number within the current cycle is used to label each column. After each page of output, the column labels are printed again, so that there should always be a copy of the column labels on the screen at any time. To avoid multiple copies of the column labels, execute options(length=10000) to specify a very long page. A new format may be chosen at the end of each page.

The time parameters are written at the bottom.

SEE ALSO:

, , , .

EXAMPLES:

rts( as.factor(letters), start = c( 0, 5), freq = 7, units = "weeks")