@gsimpson.bsky.socialGavin Simpson @gsimpson.bsky.social
2026-11-23 10:51 UTC
draw() now plots smooths from joint GJRM models using the coefficients and covariance from the final joint fit. These two panels show the smooths for two simulated responses. Use smooth_estimates() to get the estimates for your own plot. #RStats
2 pictures (not shown on this phone): library("gratia") library("mgcv") set.seed(42) d <- data.frame(x = runif(250), z = runif(250)) e <- rnorm(250) d$y1 <- …
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @gsimpson.bsky.socialBackBluesky home