@gsimpson.bsky.socialGavin Simpson @gsimpson.bsky.social
2026-11-23 10:51 UTC
Does CO₂ uptake rise at the same rate in chilled and nonchilled plants? difference_smooths(order = 1) compares the slopes of the two fitted curves and accounts for their covariance. Use order = 2 to compare how quickly the slopes themselves change. #RStats
2 pictures (not shown on this phone): library("gratia") library("mgcv") fit <- gam(uptake ~ Treatment + s(conc, by = Treatment, k = 6) + s(Plant, bs = "re"),…
A reply in a thread.
2 likes, 0 reposts, 1 replies
3 Next post4 More from @gsimpson.bsky.socialBackBluesky home