Soil pollution in different land uses
The meuse
data set has a factor variable, landuse
, which specifies the type of land use or cover at the location where soil was sampled.
Diese Übung ist Teil des Kurses
Nonlinear Modeling with Generalized Additive Models (GAMs) in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Fit a model with separate smooths for each land-use level
mod_sep <- ___
# Examine the summary
___