Skip to content

Ordered Multidimensional Arrays

3 messages · Derek Schaeffer, Patrick Burns, Whit Armstrong

#
The old fashioned solution is to have the N x N x T
array and use character strings of the dates as the
dimnames on the third dimension.

Is there something you think you need to do that is
hard with such a setup?


Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
Derek Schaeffer wrote:
#
I take a similar approach by storing my vcv's in a list w/ the date
stored as a character vector "%y-%m-%d" as the list names.  That way
you can easily grab the vcv you need by casting your date to a string
and using it to index the list.

not sure if that will work for you.

hth,
Whit
On Tue, Dec 23, 2008 at 3:08 PM, Patrick Burns <pburns at pburns.seanet.com> wrote: