[R] Format table help

cameron raymond.fu at invesco.com
Thu Nov 11 14:30:34 CET 2010


Phil

you're right Mthticker is not a table.  
Mthticker is a list.  I am trying to reformat all elements in the list.  or
i can reformat one element and do a loop around it.

Thanks 
Cameron


Mthticker
str
List of 5
 $ :'zoo' series from 01/02/04 to 11/01/10
  Data: chr [1:83] "LHG04   " "LHJ04   " "LHJ04   " "LHK04   " ...
  Index: Classes 'dates', 'times'  atomic [1:83] 12419 12450 12478 12509
12541 ...
  .. ..- attr(*, "format")= chr "m/d/y"
  .. ..- attr(*, "origin")= num [1:3] 1 1 1970
 $ :'zoo' series from 01/02/04 to 11/01/10
  Data: chr [1:83] "LHJ04   " "LHK04   " "LHK04   " "LHM04   " ...
  Index: Classes 'dates', 'times'  atomic [1:83] 12419 12450 12478 12509
12541 ...
  .. ..- attr(*, "format")= chr "m/d/y"
  .. ..- attr(*, "origin")= num [1:3] 1 1 1970
 $ :'zoo' series from 01/02/04 to 11/01/10
  Data: chr [1:83] "LHK04   " "LHM04   " "LHM04   " "LHN04   " ...
  Index: Classes 'dates', 'times'  atomic [1:83] 12419 12450 12478 12509
12541 ...
  .. ..- attr(*, "format")= chr "m/d/y"
  .. ..- attr(*, "origin")= num [1:3] 1 1 1970
 $ :'zoo' series from 01/02/04 to 11/01/10
  Data: chr [1:83] "LHM04   " "LHN04   " "LHN04   " "LHQ04   " ...
  Index: Classes 'dates', 'times'  atomic [1:83] 12419 12450 12478 12509
12541 ...
  .. ..- attr(*, "format")= chr "m/d/y"
  .. ..- attr(*, "origin")= num [1:3] 1 1 1970
 $ :'zoo' series from 01/02/04 to 11/01/10
  Data: chr [1:83] "LHN04   " "LHQ04   " "LHQ04   " "LHV04   " ...
  Index: Classes 'dates', 'times'  atomic [1:83] 12419 12450 12478 12509
12541 ...
  .. ..- attr(*, "format")= chr "m/d/y"
  .. ..- attr(*, "origin")= num [1:3] 1 1 1970




-- 
View this message in context: http://r.789695.n4.nabble.com/Format-table-help-tp3036945p3037822.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list