[R] qplot of ggplot package how to plot different size according to the values and not to the weights?

Stefan Grosse singularitaet at gmx.net
Fri Oct 27 15:41:45 CEST 2006


here an example with the car data
qplot(drat,wt,data=mtcars,shape=as.factor(carb),col=am,size=3)

it gets a bit better if one takes away the as.factor (but that of course
changes other things)

The picture is saved via metafile, screenshot did not work (mostly black
whyever) I know its deleted for the list...


Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.png
Type: image/png
Size: 7041 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20061027/be4a5ed5/attachment.png 


More information about the R-help mailing list