print
when given a time series of class
cts
.
print.cts(x, max.freq = 12, labels = NULL, abb = T, quote = F, ...)
"cts"
).
frequency(x)
is less than or equal to
max.freq
,
then the special printing format described in DETAILS is used.
Default is 12
frequency
, If the special printing
format is used,
labels
are used as column labels for the output.
TRUE
, abbreviations of the month names are used
as column lables when appropriate, if
FALSE
the month names are
written out in full. Default is
TRUE
.
TRUE
, character strings are surrounded by quotes.
Default is
FALSE
.
x
, with the invisible flag set to prevent reprinting.
x
as a calendar time series.
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.
Month abbreviations are used for column labels if
frequency(x)
is 12,
and quarter abbreviations are used if
frequency(x)
is 4.
Otherwise the observation number within the current cycle is used.
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.
options(width=55) hstart.cts <- cts(hstart, start="01/31/66", units="months") hstart.cts # Produces: # Jan Feb Mar Apr May Jun Jul Aug # 66: 81.9 79.0 122.4 143.0 133.9 123.5 100.0 103.7 # 67: 61.7 63.2 92.9 115.9 134.2 131.6 126.1 130.2 # 68: 82.7 87.2 128.6 164.9 144.5 142.5 142.3 141.0 # . . . # Sep Oct Nov Dec # 66: 91.9 79.1 75.1 62.3 # 67: 125.8 137.0 120.2 83.1 # 68: 139.5 143.3 129.5 99.3 # . . . # start units k.units frequency # 01/31/66 months 1 12