data <- sample(1:3, 100, replace = TRUE)
microbenchmark::microbenchmark(table(data), tabulate(data), times = 10000)
I'm almost angry at how much faster this is, and why I was today years old when I learned this 🤬
1/2
data <- sample(1:3, 100, replace = TRUE)
microbenchmark::microbenchmark(table(data), tabulate(data), times = 10000)
I'm almost angry at how much faster this is, and why I was today years old when I learned this 🤬
1/2
7/10
7/10
6/10
6/10
5/10
5/10
4/10
4/10
github.com/signalapp/Si...
github.com/signalapp/Si...
The default behaviour of geom_jitter() and position_jitter() is to jitter the width/height if no argument is provided!
The default behaviour of geom_jitter() and position_jitter() is to jitter the width/height if no argument is provided!
The plot areas are now exactly the same size, without me having to say a word!
Code below.
2/4
The plot areas are now exactly the same size, without me having to say a word!
Code below.
2/4
I have two plots, one with a hidden y axis (it's the same for both plots). But the plot area will greedily take up the space freed up by the axis, so it appears larger in cowplot's plot_grid().
1/4
I have two plots, one with a hidden y axis (it's the same for both plots). But the plot area will greedily take up the space freed up by the axis, so it appears larger in cowplot's plot_grid().
1/4