As title, I need to draw something like this:

Can ggplot, or other packages if ggplot is not capable, be used to draw something like this?
|
As title, I need to draw something like this:
Can ggplot, or other packages if ggplot is not capable, be used to draw something like this? |
||||
|
Although there's room for improvement, here is a small attempt with simulated (heteroscedastic) data:
|
|||
|
|
|
If you are looking for this (meta-analysis) type of funnel plot, then the following might be a starting point:
|
|||||||
|
stat_quantile()to put conditional quantiles on a scatterplot. You can then control the functional form of the quantile regression with the formula parameter. I'd suggest things like formula=y~ns(x,4)to get a smooth splined fit. – Shea Parkes Mar 18 at 14:40