Re: [R] Plotting confidence intervals

2019-12-07 Thread Ben Tupper
Hi, Would something like yarrr do the trick? https://ndphillips.github.io/yarrr.html Or gghalves? https://github.com/erocoar/gghalves Cheers, Ben On Sat, Dec 7, 2019 at 9:32 PM wrote: > I want to show little bell curves on my bar chart to illustrate the > confidence ranges. The following ex

[R] Plotting confidence intervals

2019-12-07 Thread phil
I want to show little bell curves on my bar chart to illustrate the confidence ranges. The following example from Paul Teetor's "R Cookbook" does what I want, but shows I-beams instead of bell curves. The I-beams suggest uniform, rather than normal distributions. So I am looking for a way to pl

[R] safest way to subset (and replace) a data.table

2019-12-07 Thread Benjamin Tyner
Hi I would like to replace a data.table 'DT' with a subset of itself, where the subset is determined by an expression 'expr' which evaluates to logical. Thus far I've been using:    DT <- DT[expr, ] however this frequently results in a SIGABRT from glibc of the form:    "double free or corr