Re: [R] Categorical bubble plot

From: Jurgens de Bruin <debruinjj_at_gmail.com>
Date: Fri, 15 Apr 2011 07:13:19 +0200

Thanks for the reply...

with reproducible I am believe you require a dataset?

The size of the bubbles will be related to the fitvalues.

On 14 April 2011 17:57, Ben Bolker <bbolker_at_gmail.com> wrote:

> Jurgens de Bruin <debruinjj <at> gmail.com> writes:
>
> >
> > Hi,
> >
> > I do not have much R experience just the basics, so please excuse
> > any obvious questions.
> >
> > I would like to create bubble plot that have Categorical data on the x
> and y
> > axis and then the diameter if the bubble the value related to x and y.
> > Attached to the email is a pic of what I would like to do.
> >
>
> A reproducible example would be great.
>
> something along the lines of
>
> library(ggplot2)
> ggplot(mydata,aes(x=drugclass,y=plant,colour=fitvalue,size=?))+geom_point()
>
> it's not clear from your description what determines the size.
> From a labeling point of view, switching x and y might be useful.
>
> ______________________________________________
> 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.
>

-- 
Regards/Groete/Mit freundlichen Grüßen/recuerdos/meilleures salutations/
distinti saluti/siong/duì yú/привет

Jurgens de Bruin

	[[alternative HTML version deleted]]


______________________________________________ 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.

Received on Fri 15 Apr 2011 - 05:19:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Apr 2011 - 13:40:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive