This is a question of how to set up a data structure efficiently.
Specifically, I want to plot a trellis of 5 rows by 4 columns of line
graphs, each involving 100 x-y points that I generate theoretically. I
could generate a data frame with 20,000 rows, and for each include a
column for the trellis "row" factor, and a column for the trellis
"column" factor, in addition to the x and y columns. But that seems
inefficient in terms of storage, since it keeps 40,000 values of which
only nine are unique.
Is there some other way to specify these data that trellis can
understand? Or, do I misunderstand the way s-plus stores data---perhaps
it knows how to store the data-frame I described efficiently on its own?
Actually, the 100 "x" values are the same for all 20 panels, so is there
a way not to have to repeat those numbers 20 times, too?
Thanks for any help.
Dave Parkhurst
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|