Get startedGet started for free

Customizing 3D plots

Uncertainty is easy to see in plots of univariate smooths, but more challenging to represent in 2D relationships. Here we'll visualize uncertainty in a geospatial interaction.

The model (mod2d) from exercise 2 is available in your workspace.

This exercise is part of the course

Nonlinear Modeling with Generalized Additive Models (GAMs) in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Make the perspective plot with error surfaces
vis.gam(mod2d, view = c("x", "y"), 
        ___)
Edit and Run Code