Ph.D., epidemiology. research software engineer @ Stanford Health Policy. living in Ann Arbor. open-source data science. causal inference. doing poems on aircrafts. approximately Bayesian. formerly Posit, Apple, AmeriCorps. 心を燃やせ。sic semper tyrannis. .. more
Ph.D., epidemiology. research software engineer @ Stanford Health Policy. living in Ann Arbor. open-source data science. causal inference. doing poems on aircrafts. approximately Bayesian. formerly Posit, Apple, AmeriCorps. 心を燃やせ。sic semper tyrannis.
Reposted by Barrett
Your data, offline, forever, for free.
Reposted by Barrett
{vcdExtra} pkgs.
I devised a scheme, using `@concept` tags to classify them according to the methods.
Perhaps this is useful to others
I describe what I did in this vignette: bit.ly/4oalgBd
Reposted by Barrett
Jarl is a CLI tool with extensions in VS Code, Positron, and Zed. It can check thousands of lines of R code in milliseconds.
Jarl provides several output formats, a Github Actions workflow, and more.
Blog post: www.etiennebacher.com/posts/2025-1...
Reposted by Barrett
Reposted by Barrett
Reposted by Barrett, Julen Astigarraga
Reposted by Barrett
🌈🌈 Do you ever need/want to print text in color in markdown/Quarto documents, so you can easily refer to red points or blue lines in a graph?
A start on this is in the {colorize} 📦, friendly.github.io/colorize/
Reposted by Paul Goldsmith-Pinkham, Barrett, Olúfẹ́mi Táíwò
Reposted by Barrett
Not the most groundbreaking thing, but one of those "the thing I needed to read a bit ago" posts
(1/)
www.emilyriederer.com/post/py-rgo-...
Reposted by Barrett
Reposted by Barrett
Reposted by Barrett
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
Reposted by Barrett
tidyverse.org/blog/2025/11...
#numpy #scipy #scikitlearn
Reposted by Barrett, Darío Martin‐Benito
🌟 scasm() for estimating GAMs with shape constrained smooths. Can be used with any family & smoothness selection is via the EFS method
Reposted by Barrett, Ondřej Mottl
I created this talk for frustrated {renv} users 🫠 and potential {renv} users🤩
youtu.be/l01u7Ue9pIQ?...
Even if {renv} isn't on your radar, you may still find this talk interesting if you are curious about🤔...
Reposted by Barrett
Reposted by Barrett
Reposted by Barrett, Paul Nightingale
- Ten years ago, I attempted to learn Python and it went EXTRMELY badly 😩
- I am really happy that so much tooling in this area has improved SO much since then 😌
youtu.be/pMVYl9fx1EE
Reposted by Barrett
www.youtube.com/watch?v=B-bM...