Re: [R] Plotting confidence intervals with ggplot, in multiple facets.

2021-07-17 Thread Jeff Newmiller
ggplot(dta,aes(x=Ndat,y=estimate, ymin=lower,ymax=upper))+ geom_point() + geom_errorbar(width=30) + facet_grid(param~1) + theme_minimal() Width parameter seems odd... play with it I suppose. For facets, you can also use facet_wrap(~param, ncol=1). ggplot is very much about the data and t

[R] Plotting confidence intervals with ggplot, in multiple facets.

2021-07-17 Thread Rolf Turner
I have need of creating a plot displaying confidence intervals (for the mean bias in parameter estimates) with one panel or facet for each of the two parameters in question. I can do this in base R graphics, but the result is not as aesthetically pleasing as I would like. I have attached an exa