LoslegenKostenlos loslegen

Plotting pollution in different land uses

You can observe the differences between different continuous-categorical interaction types by visualizing them. Here, you'll look at the different ways the by-type and factor-smooth-type interactions are plotted, and see how the approaches fit the models differently.

Both the models (mod_sep and mod_fs) from the previous exercise are available in your workspace.

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.

# Plot both the models with plot()
___
___
Code bearbeiten und ausführen