Re: [R] Help with stripplot

From: <deepayan_at_cs.wisc.edu>
Date: Wed 29 Jun 2005 - 08:31:36 EST

>
>
> Ghosh, Sandeep wrote:
>> For the following code is there a way to make the jitter all line up
>> horizontally, instead of them being just randomly spread around a value.
>> So for ex if there are multiple values at 63 for genotype wt then all
>> the values should be plotted on the same y value of 63 but spaced apart
>> by a certain factor or noise..
>>
> <snip>
>>
>
> Yes, remove the jitter function call:
>
> stripplot(marbles_buried ~ genotype, data = dataFrame, aspect = 1,
> jitter = TRUE, xlab='Genotype', ylab = "Marbles Buried",
> main='MBA WTs Vs HOMs')
>

Also, since you are not using conditioning, consider using stripchart, which has a 'method = "stack"' argument.

Deepayan



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 Jun 29 08:36:06 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:06 EST