[R] graphics

From: Karsten Rincke <rincke_at_physik.uni-kassel.de>
Date: Wed 31 Aug 2005 - 00:46:42 EST

I guess a have a very simple problem though up to now couldn't solve it: I want to plot two datasets wihtin one plot like plot(x) provides it for one dataset(type="b" that is: points connected by lines). Example data 'x':
Befragung1 Befragung2 Befragung3 Geschlecht 2.25 2.34 1.78 weiblich
1.34 3.45 2.23 maennlich
The two rows of the example above form two datasets. Now I'm looking for something like plot(~x |Geschlecht, ... ): X-axis containing Befragung1...3, y-axis containing the values given by the matrix 'x', points within one dataset (row of 'x') connected by lines. I already tried various possibilities provided by 'lattice' or 'grid' - but there seems to be a basic misunderstanding on my side so that I could not produce any good result.
Would by very happy to get some hints!
Karsten Rincke

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Aug 31 01:01:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:00 EST