[R] Help with stripplot
deepayan@cs.wisc.edu
deepayan at cs.wisc.edu
Wed Jun 29 00:31:36 CEST 2005
>
>
> 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
More information about the R-help
mailing list