[R] ggplot2 error bars and convex hulls
c@|@ndr@ @end|ng |rom rgzm@de
Tue Apr 21 18:02:26 CEST 2020
I would like to have horizontal and vertical error bars extending from
the means on two continuous variables.
This would be the "manual" way of doing it, computing the mean and sd
(or whatever stats) beforehand and then calling geom_errorbar() and
geom_errorbarh() with appropriate coordinates:
But I am a bit surprised that there is no "built-in" way of doing it
with ggplot2. I mean not having to compute mean and sd beforehand and
not having to call both geom_errorbar() and geom_errorbarh() with a new
set of aesthetics.
In the same idea, I am looking at convex hulls and I was also expecting
to have a built-in way to do this in ggplot2. But I have only found this
Thank you in advance for any pointer.
Dr. Ivan Calandra
TraCEr, laboratory for Traceology and Controlled Experiments
MONREPOS Archaeological Research Centre and
Museum for Human Behavioural Evolution
56567 Neuwied, Germany
+49 (0) 2631 9772-243
More information about the R-help