s-news
[Top] [All Lists]

Re: matrix of lists with graphics

To: Xao Ping <xao_ping@yahoo.com>
Subject: Re: matrix of lists with graphics
From: David L Lorenz <lorenz@usgs.gov>
Date: Thu, 14 Apr 2005 13:15:46 -0500
Cc: s-plus user list <s-news@lists.biostat.wustl.edu>, s-news-owner@lists.biostat.wustl.edu
In-reply-to: <20050414165807.70452.qmail@web54004.mail.yahoo.com>

Xao Ping,
  1. Yes, by objects, the output from the by function, can act like arrays. I have used them in several applications and they are quite efficient.
  2. The output from treillis graphics functions can be manipulated. So, you could construct a list with numeric components and graphical components. The graphical component would be plotted automatically when printed.
Dave



Xao Ping <xao_ping@yahoo.com>
Sent by: s-news-owner@lists.biostat.wustl.edu

04/14/2005 11:58 AM

       
        To:        s-plus user list <s-news@lists.biostat.wustl.edu>
        cc:        
        Subject:        [S] matrix of lists with graphics



Dear All:
 
I am performing a lengthy cyclic computation with a set of input parameters which are naturally organized in P by Q tables. Figuratively speaking, in each cell of this table, I have a separate set of input parameters. The output of this computation is also can be viewed as a P by Q table-like structure, where each cell contains a certain list of results and graphics.
 
I have two comparatively independent questions:
 
1. Is that possible in S-PLUS to create something like a matrix of lists, i.e., to have a table-like structure with the entries labeled by indexes?
 
2. Is that possible to create an object which contains graphical outputs along with numerical data? (I emphasize the word "objects" as opposed to "files")
 
Thank you in advance
 
Xao Ping
 
R&R Pharmakinetics
Taiwan
 


Do you Yahoo!?
Yahoo! Small Business -
Try our new resources site!

<Prev in Thread] Current Thread [Next in Thread>