s-news
[Top] [All Lists]

grouped vertical bar chart with trellis graphics

To: <s-news@lists.biostat.wustl.edu>
Subject: grouped vertical bar chart with trellis graphics
From: "David Cairns" <cairns@tamu.edu>
Date: Mon, 22 Aug 2005 09:24:27 -0500
Importance: Normal
    I am using Splus 7.0 on Windows XP and I need to create a grouped vertical bar chart.  Is there a way to do this using trellis? 
 
    I have a data frame that contains one factor (h) that has 2 levels.  For each value of h there is a set of values x (1:15) and there are 4 observations (y1:y4) for each value of x.  The data frame has columns h, x, y1, y2, y3, and y4.  I would like a bar plot that has 4 bars for each value of x, displayed in two panels (one for each value of h).
 
    Thanks for any help you might be able to provide.
 
David M. Cairns
Associate Professor
Department of Geography
3147 TAMU
Texas A&M University
College Station, TX 77843
 
Phone: (979) 845-2783
Fax: (979) 862-4487
 
<Prev in Thread] Current Thread [Next in Thread>
  • grouped vertical bar chart with trellis graphics, David Cairns <=