@gsimpson.bsky.socialGavin Simpson @gsimpson.bsky.social
2026-11-23 10:51 UTC
How does a fitted seasonal pattern look over a full year? With draw(cyclic = "polar"), the cycle closes at the model’s fitted boundaries. In this simulated annual temperature pattern, the effect is highest around midyear. #RStats
2 pictures (not shown on this phone): library("gratia") library("mgcv") set.seed(12) day <- seq(0, 365, length.out = 150) temp <- 10 - 8 * cos(2 * pi * day /…
A reply in a thread.
3 likes, 0 reposts, 1 replies
3 Next post4 More from @gsimpson.bsky.socialBackBluesky home