Read a time series table using read.zoo?

Read in the data using read. Zoo and then convert it to a zooreg object with yearqtr time index.

Read in the data using read. Zoo and then convert it to a zooreg object with yearqtr time index: texinp zz 1992 Q1 1992 Q2 1992 Q3 1992 Q4 1993 Q1 1993 Q2 1993 Q3 1993 Q4 1994 Q1 1994 Q2 1994 Q3 1994 Q4 566 443 329 341 344 212 133 112 252 252 199 207.

That step from t(coredata(z)) to c(t(coredata(z))) was a real surprise. It shouldn't have been, from the matrix() statement, but it was. – bill_080 Jan 17 at 18:57 1 Note that since Bill's comment c(t(coredata(z))) has been edited to shorten it to c(t(z)) .

– G. Grothendieck Jan 18 at 19:36.

Read. Zoo assumes your data has at most one time-index column, so you have to process this yourself. First read it in using read.

Table zt zt. M Year Qtr value 1 1992 Qtr1 566 2 1993 Qtr1 344 3 1994 Qtr1 252 4 1992 Qtr2 443 5 1993 Qtr2 212 6 1994 Qtr2 252 7 1992 Qtr3 329 8 1993 Qtr3 133 9 1994 Qtr3 199 10 1992 Qtr4 341 11 1993 Qtr4 112 12 1994 Qtr4 207 and finally create your desired zoo object: z z 1992 Q1 1992 Q2 1992 Q3 1992 Q4 1993 Q1 1993 Q2 1993 Q3 1993 Q4 1994 Q1 1994 Q2 566 443 329 341 344 212 133 112 252 252 1994 Q3 1994 Q4 199 207.

That would be a really good example for the melt() function documentation. I started off down this path, but my version of zt was zt– bill_080 Jan 17 at 19:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions