[R] categorical vs numerical

DispersionMap frenchcr at btinternet.com
Sat Dec 5 10:46:52 CET 2009


Thanks, however the group sizes are really big (each a,b,c.. category has
60,000 observations). Its hard to see whats going on withe the jittered
stripchart, i just get big black blobs.

Any other suggestions?




Peter Ehlers wrote:
> 
> If your group sizes are not too large, I would use jittered stripcharts.
> They're more informative than boxplots and much less subject to
> misinterpretation. One warning, I'm not fond of the default pch=0.
> 
>  -Peter Ehlers
> 
> DispersionMap wrote:
>> What ways are there to plot categorical vs numerical data in R.
>>
>>
>> I have two columns: one with categorical data in 5 categories a,b,c,d,e,
>> and
>> a numerical column with integers between 1 and 100.
>>
>> I have used a boxplot with a,b,c,d,e on the x-axis and an increasing
>> numerical scale on the y-axis. This look fine but im looking for other
>> ways
>> to present the data.
>>
>>
>> What other ways can i do this???
>>
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://n4.nabble.com/categorical-vs-numerical-tp948817p949117.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list