[R] points size in plots

hadley wickham h.wickham at gmail.com
Fri May 2 17:56:02 CEST 2008


Hi Irene,

Assuming you have already calculated the standard errors, something
like the following will work:

library(ggplot2)
qplot(x, y, data=mydataframe, size = se)

Hadley

On Fri, May 2, 2008 at 8:52 AM, Irene Mantzouni <ima at aqua.dtu.dk> wrote:
> Dear list,
>
>
>
>  I would like to produce a plot of variables where the size of the points
>  will be indicative of their standard errors.
>
>  How is that possible?
>
>
>
>  Thank you!
>
>
>         [[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.
>



-- 
http://had.co.nz/



More information about the R-help mailing list