Re: [R] means and error bars on xyplot for binary data

2011-06-28 Thread Peter Ehlers
On 2011-06-28 00:12, Louis Plough wrote: Hi, I have binary (0,1) data for a trait as my response variable, and a dependent variable, genotype, with three classes (AA, AB, BB). I would like to plot this data so that across the three genoytpes, even though the points are all either 0 or 1, i want

[R] means and error bars on xyplot for binary data

2011-06-28 Thread Louis Plough
Hi, I have binary (0,1) data for a trait as my response variable, and a dependent variable, genotype, with three classes (AA, AB, BB). I would like to plot this data so that across the three genoytpes, even though the points are all either 0 or 1, i want them to stack up or be seen using 'jitter'.