Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 62
Hint – Addressing the object nottem
ОглавлениеNote that nottem
is a time series object (see Chapter 10 “Time Series Analysis” on page 255) and not a matrix. Its elements are addressed with nottam[n]
where n is between 1 and length(nottam)
. However, when printed it will look like a matrix with months in the columns and years in the rows. This is because the print-function will use functionality specific to the time series object.a Remember that ).
temperature
length()