Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
library("gratia")
library("mgcv")

# Gu and Wahba's additive example with Gaussian noise
d <- data_sim("additive", n = 400, dist = "normal",
  scale = 2, seed = 42)

fit <- gam(y ~ s(x0) + s(x1) + s(x2) + s(x3),
  data = d, family = gaussian(), method = "REML")

draw(fit, scales = "fixed", ncol = 2)