https://stats.stackexchange.com/questions/645197/how-to-create-a-gam-with-interation-term-for-a-soap-film-smoother
Apr 17, 2024 · I am interested in creating a GAM that contains a soap film smoother that can also vary in time. Below is an example using synthetic data. I start by creating data