print
when given a time series.
print.ts(x, quote=T)
tsp(x)
is not
NULL
.
TRUE
, character strings are surrounded by quotes.
x
, with the invisible flag set to prevent reprinting.
x
as a time series.
The time series parameters,
tsp(x)
,
are used to ensure that each line either 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.
Each column of a multivariate series is printed in turn.
This is in contrast to the default printing of multivariate time series
which prints the series as a matrix and then prints the
tsp
attribute.
options(width=60) hstart Jan Feb Mar Apr May Jun Jul Aug 1966: 81.9 79.0 122.4 143.0 133.9 123.5 100.0 103.7 1967: 61.7 63.2 92.9 115.9 134.2 131.6 126.1 130.2 1968: 82.7 87.2 128.6 164.9 144.5 142.5 142.3 141.0 ... Sep Oct Nov Dec 1966: 91.9 79.1 75.1 62.3 1967: 125.8 137.0 120.2 83.1 1968: 139.5 143.3 129.5 99.3 ...