LoslegenKostenlos loslegen

Modeling soil pollution in the Netherlands

Let's take a closer look at the meuse data and use it to fit your first 2-D model.

Unless otherwise mentioned, assume that mgcv is loaded in your workspace going forward.

After reviewing the model you will fit, answer the following question: How many basis functions are used in the two-dimensional smooth?

Diese Übung ist Teil des Kurses

Nonlinear Modeling with Generalized Additive Models (GAMs) in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Inspect the data
___
___
Code bearbeiten und ausführen