library(ggplot2) 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+")) )
tj mahr ๐
@tjmahr.com
2312 Followers
964 Following
data scientist studying how kids learn to speak, dad, jump roper, bayesian, tjmahr.com
Statistics
7 Days
Likes
103
Replies
8
Reposts
9
Quotes
2
Top 7 Day Skeets (Avg.)
Likes
15.4
Replies
0.6
Reposts
1.8
Quotes
0.4
Top Skeets
new #rstats blogpost: readtextgrid now uses C++ (and ChatGPT helped) www.tjmahr.com/readtextgrid...
readtextgrid now uses C++ (and ChatGPT helped)
Text parsing and thoughts about LLM-assisted R development
hell yeah
Itโs my dadโs 76th birthday and on the call with my kids, he went โseven six seven six seven sixโ. They thought it was awesome.
me: I spilled chocolate syrup all over myself in the car
ChatGPT: Oof. You hit the classic chocolate-syrup-in-the-car catastrophe. Hereโs a damage control plan that actually works.