Regression curve with smoothed error bars based on the Visually-Weighted Regression by Solomon M. Hsiang and Felix Schonbrodt’s original code](http://www.nicebread.de/visually-weighted-watercolor-plots-new-variants-please-vote/).
library(microbiome)
data(atlas1006)
plot_regression(diversity ~ age, meta(atlas1006))